void Update() { if (Input.GetButtonDown("Cancel")) { MSceneManager.MainGo(); } }
public void MainGo() { if (SoundEffectManager.instance != null) { SoundEffectManager.instance.PlayButtonClickSound(); } MSceneManager.MainGo(); }