コード例 #1
0
 /// <summary>
 /// This function closes the pause window and resumes the game
 /// </summary>
 public void CloseWindow()
 {
     UIApi.CloseLastWindow();
     LevelApi.ResumeCurrentLevel();
 }
コード例 #2
0
 void Start()
 {
     LevelApi.StartLevel(1);
 }
コード例 #3
0
 /// <summary>
 /// This function opens the pause window and pauses the game
 /// </summary>
 public void OpenPauseWindow()
 {
     UIApi.OpenWindow(WindowTypes.PauseMenu);
     LevelApi.PauseCurrentLevel();
 }