private void Awake() { if (m_snooperUI) { s_snooperSingleton = this; } else { s_singleton = this; } }
private IEnumerator PreparationPhase() { m_snooperCanMove = false; for (int i = 3; i >= 0; i--) { PreparationCountdown.ShowPreparationNumber(i); if (i != 0) { GalaxyAudioPlayer.PlaySmallBip(); } else { GalaxyAudioPlayer.PlayLongBip(); } yield return(new WaitForSeconds(1.0f)); } PreparationCountdown.ShowPreparationNumber(-1); m_snooperCanMove = true; }