Unity own ingame UI

Posts 1–4 of 4 · Page 1 of 1
Unity own ingame UI
I have created an example with ingame ui (user interface) in which you can select each game object in the game and change the parameters (position, scale, visible or not, etc.)

Own scene:
  • example Image
    http ://i.imgur.com/Xj48psG.png (Empty place of the link)
  • example .exe


In unity real game:

If I want to spend with reflector/reflexil simple hello world I see no changes in the game, I have to assign it to an object right?
How do I do this in the reflector?

Code:
using UnityEngine;
using System.Collections;

public class test : MonoBehaviour
{
    
    void OnGUI()
    {
        GUIStyle style = new GUIStyle();
        GUI.Label(new Rect(100, 100, 100, 20), "<size=20><color=brown>Hallo World</color></size>", style);    }
}
Quote Originally Posted by Sub7 View Post
I have created an example with ingame ui (user interface) in which you can select each game object in the game and change the parameters (position, scale, visible or not, etc.)

Own scene:
  • example Image
    http ://i.imgur.com/Xj48psG.png (Empty place of the link)
  • example .exe


In unity real game:

If I want to spend with reflector/reflexil simple hello world I see no changes in the game, I have to assign it to an object right?
How do I do this in the reflector?

Code:
using UnityEngine;
using System.Collections;

public class test : MonoBehaviour
{
    
    void OnGUI()
    {
        GUIStyle style = new GUIStyle();
        GUI.Label(new Rect(100, 100, 100, 20), "<size=20><color=brown>Hallo World</color></size>", style);    }
}
thanks for asking for my help man but I don't know alot about the unity engine to be of any help.
Please avoid posting outside download links (e.g. google drive download links) and upload using the upload system. Thanks.
The version of Unity you are using is quite old. If you are still working on the project kindly PM me. I can help you.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us