public void OnMouseDown()
 {
     if (SceneChanger != null)
     {
         SceneChanger.LoadScene("MainMenu");
     }
 }
示例#2
0
 public void ChangeScene(string newScene)
 {
     changeScene.LoadScene(newScene);
 }