简体   繁体   中英

How to use a GUI developed with C# or Java in Unity 3d

I have beginned to learn Unity 3d. And I know, there are GUI-Components build in in Unity 3d.

But I want to developed an "external" GUI with C# or Java, and use this GUI to change the parameter such as "speed" "position" and so on. How can I integrate the GUI into a Unity 3d project? Is that possible?

With best regards and thanks for your answer.

You can create a powerful GUI in Unity5 now, which uses C# or javascript in the background.

Here is a link to some tutorials to get you started, however it is not like their old GUI system.

Unity uses its own GUI system/UI system, there are a lot of tutorials online how to use it.

Yes it is possible to use C# to change the GUI while the game is running.

One thing that you want to keep in mind is when you create a script that will need to use the UI namespace.

That means that at the top of the script you have to put: using UnityEngine.UI; . some good tutorial links:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM