コード例 #1
0
 private void GameOver()
 {
     m_InfiniteLevelManager.PauseProcess = true;
     m_ObjectSpawner.PauseProcess        = true;
     PlayAudioManager.PlayGameover();
     m_GUIManager.ShowHighscore();
     //SceneManager.LoadScene(0);
     Destroy(this.m_SpaceShipBehaviour.gameObject);
 }
コード例 #2
0
 void Start()
 {
     INSTANCE = this;
     m_Source = FindObjectOfType <AudioSource>();
 }
コード例 #3
0
 private void ShowHighscore()
 {
     m_GUIManager.ShowSubmitScore();
     PlayAudioManager.PlayGoal();
 }