Example #1
0
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.KeypadEnter) || Input.GetKeyDown(KeyCode.Return))
     {
         SceneManager.LoadScene(GalagaHelper.GetScene(Scene.Stage));
     }
 }
Example #2
0
 public void LoadGameOverScene()
 {
     SceneManager.LoadScene(GalagaHelper.GetScene(Scene.GameOver));
 }
Example #3
0
 private static void LoadStage()
 {
     SceneManager.LoadScene(GalagaHelper.GetScene(Scene.Stage1));
 }