Example #1
0
 public void openMain()
 {
     if (BoardController.levelToOpen != 0)
     {
     }
     PlayerPrefsManager.SetLatestLevel(PlayerPrefsManager.GetLevel());
     SoundManager.instance.Click();
     MenuController.fromGame = true;
     FugoUtils.openScene("Menu");
 }
Example #2
0
 private void openNext()
 {
     if (GameController.endType != 0)
     {
         SectionController.setCompleted = true;
         FugoUtils.openScene("Menu");
     }
     else
     {
         FugoUtils.openScene("GameNew");
     }
 }
 public void openGame()
 {
     PlayerPrefsManager.SetLevel(PlayerPrefsManager.GetLevel() + 1);
     RequestManager.instance.LogRequest();
     if (BoardController.levelToOpen != -1)
     {
         BoardController.levelToOpen++;
     }
     if (BoardController.nextSet)
     {
         SectionController.setCompleted = true;
         FugoUtils.openScene("Menu");
     }
     else
     {
         FugoUtils.openScene("Game");
     }
 }
 public void modeButtonClicked()
 {
     GameController.daily = false;
     GameController.mode  = GameMode.ADVENTURE;
     FugoUtils.openScene("GameNew");
 }
 private void openMenu()
 {
     FugoUtils.openScene("Menu");
 }
 public void openMenu()
 {
     FugoUtils.openScene("Menu");
 }
Example #7
0
 public void openSections()
 {
     SoundManager.instance.Click();
     MenuController.fromGameToSections = true;
     FugoUtils.openScene("Menu");
 }