public override void CotinueEvent() { switch (introDialogueState) { case IntroDialogueState.INTRO: denverCol.cutScene = false; Invoke("ContinueIntro", 0.05f); break; case IntroDialogueState.INTRO_CONTINUED: playerControl.levelGenerationDone = true; denverCol.cutScene = false; introDialogueState = IntroDialogueState.OFF_DENVER_COL; break; case IntroDialogueState.OFF_DENVER_COL: ContinueIntroAfterDenver(); break; case IntroDialogueState.INTRO_END: playerControl.levelGenerationDone = true; elevator.locked = false; break; default: break; } }
void ContinueIntro() { audioController.PlayNormalMusic(); denverCol.cutScene = true; introContinued.TriggerDialogue(); introDialogueState = IntroDialogueState.INTRO_CONTINUED; return; }
void StartIntro() { elevator.locked = true; cutScene = true; intro.TriggerDialogue(); introDialogueState = IntroDialogueState.INTRO; return; }
void ContinueIntroAfterDenver() { playerControl.levelGenerationDone = false; introFinal.TriggerDialogue(); introDialogueState = IntroDialogueState.INTRO_END; }