// Start is called before the first frame update void Awake() { Time.timeScale = 1f; isPaused = false; gc = GameControllerCommon.instance; }
public void Awake() { if (instance != null) { Debug.Log("Another GameController already exists, deleting this one."); Destroy(this.gameObject); } else { Debug.Log(this.gameObject + " has been set as local GameController instance."); instance = this; } PauseMenu.isPaused = false; }