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