// main event void Start() { StartInit(); if (!gameController) { gameController = GameController_TapToKill.Instance; } }
protected override void Start() { base.Start(); if (!gameController) { gameController = GameController_TapToKill.Instance; } }
// main event void Awake() { // activate instance if (Instance == null) { Instance = this; } else if (Instance != this) { Destroy(gameObject); } }