Ejemplo n.º 1
0
 //Gui
 void OnGUI()
 {
     if (showDebugGUI)
     {
         /* show debug info */
         GUI.Label(new Rect(10, 10, Screen.width - 10, Screen.height - 10), display);
     }
     GUI.Label(new Rect(Screen.width / 2, 25, 100, 30), modus.ToString());       //Current modus
 }
Ejemplo n.º 2
0
 void OnGUI()
 {
     GUI.Label(new Rect(25, 25, 100, 30), modus.ToString());
 }