private IEnumerator DisplayLevel() { AudioController.PlayBGM("choose"); yield return(new WaitForSecondsRealtime(3)); choosePanel.GetComponent <ChoosePanelController>().FadeIn(); }
private IEnumerator DoStartGame() { AudioController.BGM.Stop(); yield return(new WaitForSecondsRealtime(1)); AudioController.PlayBGM(LevelManager.BGM); Time.timeScale = 1; gamePanel.gameObject.SetActive(true); }
void Start() { AudioController.PlayBGM("start"); }
void Start() { AudioController.PlayBGM(bgm); Destroy(this); }