//Singleton //private static GameManager Instance = null; //Functions /* * void Awake() * { * // if the singleton hasn't been initialized yet * if (Instance != null && Instance != this) * { * Destroy(this.gameObject); * } * else * { * Instance = this; * DontDestroyOnLoad(this.gameObject); * } * } */ void Start() { Grabber.PlayerWin += Win; CotcManager.StartGame += BeginPlay; CotcManager.Logout += Restart; _initializeLevel.Initialize(); }
void Start() { _initializeLevel.Initialize(); ShowExplanation1(true); }