Ejemplo n.º 1
0
        protected override void IntroReady()
        {
            Choom.Play("Music/credits");
            Choom.Pause(false);

            objectives.CheckComplete();
            Objectives.CheckAchievements();

            if (Objectives.AnyComplete)
            {
                LeanTween.delayedCall(4, () => {
                    menu.ignore_input = false;
                    refocusSelected.SetActive(true);
                    menu.SetFocus(refocusSelected);
                    objectives.Play(HashIDs.menu.Outtro);
                });
            }
            else
            {
                menu.ignore_input = false;
                refocusSelected.SetActive(true);
                menu.SetFocus(refocusSelected);
                objectives.Play(HashIDs.menu.Outtro);
            }

            MenuCredits.DisplayEnding = true;
            MenuCredits.ScrollDelay   = 3;
        }
Ejemplo n.º 2
0
 protected override void OuttroStartNextIntro()
 {
     if (transitionID != MenuState.None)
     {
         Choom.Play("Music/title");
         base.OuttroStartNextIntro();
     }
 }
Ejemplo n.º 3
0
 protected override void OuttroStartNextIntro()
 {
     if (DisplayEnding)
     {
         Choom.Play("Music/title");
     }
     base.OuttroStartNextIntro();
 }
Ejemplo n.º 4
0
        protected override void OuttroStartNextIntro()
        {
            if (transitionID != MenuState.None && !AppMain.IsPaused)
            {
                Choom.Play("Music/title");
            }

            base.OuttroStartNextIntro();
        }