private void onPlayerExitingJelloporter(Signal signal) { PlayerExitingJelloporterSignal playerExitingJelloporterSignal = (PlayerExitingJelloporterSignal)signal; JelloPlate plate = playerExitingJelloporterSignal.jelloporter.GetCurrentPlate(); CutSceneSequence sequence = CutSceneManager.Inst.GetUnplayedSequenceFor(plate); if (sequence != null) { CutSceneManager.Inst.SetActiveSequence(sequence); nextState = new FirstFadeInState(); } }
public void SetActiveSequence(int sequenceIndex) { activeSequence = cutSceneSequences[sequenceIndex]; activeSlideIndex = 0; }
public void SetActiveSequence(CutSceneSequence sequence) { activeSequence = sequence; activeSlideIndex = 0; }