public void GotoLevelScene() { // Reset load counter BranchPairSetup.ResetAllValue(); Application.LoadLevel("LevelSelect"); }
public void StartEndlessMode() { // Reset load counter BranchPairSetup.ResetAllValue(); GlobalData.gameMode = GlobalData.GameMode.ENDLESS_MODE; GlobalData.SetCurrentLevel(1); Application.LoadLevel("GameScene"); }
public void GoToHomeScene() { GameSceneController.needShowFade = true; // Reset load counter BranchPairSetup.ResetAllValue(); if (GlobalData.gameMode == GlobalData.GameMode.PUZZLE_MODE) { Application.LoadLevel("LevelSelect"); } else if (GlobalData.gameMode == GlobalData.GameMode.ENDLESS_MODE) { Application.LoadLevel("HomeScene"); } }