Esempio n. 1
0
 public void Awake()
 {
     if (instance != null && instance != this)
     {
         Destroy(this.gameObject);
     }
     else
     {
         instance = this;
     }
 }
 public void CreateGame()
 {
     nextScreen = new CreateGameScreen(this);
 }