示例#1
0
        private IEnumerator DisplayLevel()
        {
            AudioController.PlayBGM("choose");
            yield return(new WaitForSecondsRealtime(3));

            choosePanel.GetComponent <ChoosePanelController>().FadeIn();
        }
示例#2
0
        private IEnumerator DoStartGame()
        {
            AudioController.BGM.Stop();
            yield return(new WaitForSecondsRealtime(1));

            AudioController.PlayBGM(LevelManager.BGM);
            Time.timeScale = 1;
            gamePanel.gameObject.SetActive(true);
        }
示例#3
0
 void Start()
 {
     AudioController.PlayBGM("start");
 }
示例#4
0
 void Start()
 {
     AudioController.PlayBGM(bgm);
     Destroy(this);
 }