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