Пример #1
0
 public void OnPlayClicked()
 {
     UiScreenApi.SetAllScreensVisibility(Booleans.False);
     UiScreenApi.SetScreenVisibility(UiScreenType.Levelboard, Booleans.True);
 }
Пример #2
0
 public void OnCreditsClicked()
 {
     UiScreenApi.SetAllScreensVisibility(Booleans.False);
     UiScreenApi.SetScreenVisibility(UiScreenType.Credits, Booleans.True);
 }
Пример #3
0
 public void OnCloseClicked()
 {
     UiScreenApi.SetScreenVisibility(UiScreenType.Cheatboard, Booleans.False);
 }
Пример #4
0
 public void OnExitClicked()
 {
     UiScreenApi.SetAllScreensVisibility(Booleans.False);
     UiScreenApi.SetScreenVisibility(UiScreenType.MainMenu, Booleans.True);
 }
 public void OnMenuClicked()
 {
     UiScreenApi.SetScreenVisibility(UiScreenType.PausegameMenu, Booleans.True);
 }
 public void OnCheatboardClicked()
 {
     UiScreenApi.SetScreenVisibility(UiScreenType.Cheatboard, Booleans.True);
 }
Пример #7
0
 public void OnResumeClicked()
 {
     UiScreenApi.SetScreenVisibility(UiScreenType.PausegameMenu, Booleans.False);
 }
Пример #8
0
 private void RunGame()
 {
     UiScreenApi.SetScreenVisibility(UiScreenType.MainMenu, Booleans.True);
 }
Пример #9
0
 public void EditorClicked()
 {
     UiScreenApi.SetAllScreensVisibility(Booleans.False);
     UiScreenApi.SetScreenVisibility(UiScreenType.Editor, Booleans.True);
 }
Пример #10
0
 public void GenerateLevelClicked()
 {
     UiScreenApi.SetAllScreensVisibility(Booleans.False);
     UiScreenApi.SetScreenVisibility(UiScreenType.Game, Booleans.True);
 }
 public void OnCancelClicked()
 {
     UiScreenApi.SetScreenVisibility(UiScreenType.Dialog, Booleans.False);
 }