示例#1
0
 private void Awake()
 {
     GetComponent <GUIButton>().onClick.AddListener(() =>
     {
         SaveLoadSystem.SaveStash();
         SaveLoadSystem.SaveGame();
         LevelLoader.DestroyLevel();
         SceneManager.LoadScene(SceneToLoad);
     });
 }