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