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; }
protected override void IntroReady() { menu.SetActiveContextButtons(true, false); menu.SetFocus(refocusSelected); objectives.Play(HashIDs.menu.Intro); objectives.UpdateText(); LeanTween.delayedCall(0.3f, () => { objectives.CheckComplete(); }); }