private void MakeInstance()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
示例#2
0
 // this will make a call to GameplayController to start the gameplay
 public void PlayGame()
 {
     DeactivatePlayBtn();
     SoundController.Instance.SetMainMenuMusic(false);
     gameplayContoller = GameplayContoller.Instance;
     gameplayContoller.Open();
 }