Пример #1
0
 void OnGUI()
 {
     NuterraGUI.ModifyGUI(GUI.skin);
     GUI.Label(new Rect(0, 0, 100, 30), "Loaded GUI");
     if (!destroy)
     {
         GameObject.Destroy(this, 5f);
         destroy = true;
     }
 }
Пример #2
0
 public static void BuildElements()
 {
     IsInitialized = true;
     Windows       = new Windows();
     Buttons       = new Buttons();
     Toggle        = new Toggle();
     ScrollView    = new ScrollView();
     InputFields   = new InputFields();
     NuterraGUI.BuildSkin();
 }