Beispiel #1
0
 void Start()
 {
     if (gui == null)
     {
         gui = this;
         InitializeValues();
         gui.UpdateGamePointsVisual();
         gui.UpdateComboVisual();
         gui.EnableStartWindow(true);
         GUIHandler.SetTriggersButtons();
         DisablePanels();
     }
     else if (gui == this)
     {
         Destroy(gameObject);
     }
 }