private void MakeSingleton() { if (instance != null) { Destroy(gameObject); } else { instance = this; DontDestroyOnLoad(gameObject); } }
void SetInitialReferences() { joustGameManagerMaster = GetComponent <JoustGameManager_Master>(); }