Exemplo n.º 1
0
 public void ClickMenu()
 {
     AudioManager.PlaySound(7);
     UITween.menuActive(true);
     UITween.rctfMapSlide(-500f, 0f);
     UITween.menuSlideIn();
     UITween.optionsActive(false);
 }
Exemplo n.º 2
0
 public void ClickLevelsExit()
 {
     AudioManager.PlaySound(8);
     UITween.levelsActive(true);
     UITween.rctfMapSlide(-500f, 0f);
     UITween.levelsSlideIn();
     UITween.optionsActive(false);
 }
Exemplo n.º 3
0
 public void ClickGameExit(int soundID)
 {
     AudioManager.PlaySound(soundID);
     UITween.gameActive(true);
     UITween.rctfMapSlide(-500f, 0f);
     UITween.gameSlideIn();
     UITween.optionsActive(false);
     GameManager.SetPlayerPause(false);
 }
Exemplo n.º 4
0
 public void ClickLeave()
 {
     AudioManager.PlaySound(7);
     SaveData.SaveGameData();
     RoomManager.LoadRoom(RoomManager.GetMainMenuIndex());
     UITween.levelsActive(true);
     UITween.rctfMapSlide(-500f, 0f);
     UITween.levelsSlideIn();
     UITween.optionsActive(false);
 }
Exemplo n.º 5
0
    public void ClickWarrantExit()
    {
        //Slides the map down.
        AudioManager.PlaySound(8);
        GameManager.ResetScore();
        UITween.rctfMapSlide(-500f, 0);

        //Go to the credits scene.
        RoomManager.LoadRoom(RoomManager.GetCreditsIndex());
        UITween.optionsActive(false);
        UITween.LoadingCredits(2f);
        GameManager.SetPlayerPause(false);
    }
Exemplo n.º 6
0
    public void ClickMenuMiniMap()
    {
        AudioManager.PlaySound(7);
        UITween.optionsActive(true);
        UITween.optionsMenuActive(true);
        UITween.btnSoundsActive(true);

        UITween.helpSectionActive(false);
        UITween.optionsLevelsActive(false);
        UITween.optionsGameActive(false);
        UITween.warrantSectionActive(false);

        UITween.menuSlideOut();
        UITween.rctfMapSlide(0, 1);
        UITween.menuActive(false);
    }
Exemplo n.º 7
0
    public static void TriggerWarrant()
    {
        UITween.optionsActive(true);
        UITween.warrantSectionActive(true);

        UITween.btnSoundsActive(false);
        UITween.optionsMenuActive(false);
        UITween.helpSectionActive(false);
        UITween.optionsLevelsActive(false);
        UITween.optionsGameActive(false);

        UITween.gameSlideOut();
        UITween.rctfMapSlide(0, 1);
        UITween.gameActive(false);
        GameManager.SetPlayerPause(true);
    }