Beispiel #1
0
 private void Update()
 {
     //Press Space
     if (ControllerManager.GetSpaceDown() && UITween.IsMenuActive())
     {
         AudioManager.PlaySound(6);
         UITween.levelsActive(true);
         UITween.menuSlideOut();
         UITween.levelsSlideIn();
         UITween.menuActive(false);
     }
 }
Beispiel #2
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);
    }