示例#1
0
 void Update()
 {
     if (Input.GetButtonDown("Cancel"))
     {
         MSceneManager.MainGo();
     }
 }
示例#2
0
 public void MainGo()
 {
     if (SoundEffectManager.instance != null)
     {
         SoundEffectManager.instance.PlayButtonClickSound();
     }
     MSceneManager.MainGo();
 }