private void Awake() { if (Instance != null && Instance != this) { Destroy(this.gameObject); return; } Instance = this; DontDestroyOnLoad(this.gameObject); }
void SetInitialReferences() { gameManagerMaster = GetComponent <GameManager_Master>(); }
void SetInitialReferences() { gameManagerMaster = GameObject.Find("Game Manager").GetComponent <GameManager_Master>(); }