Example #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);
     }
 }