Пример #1
0
    private void TriggerTransition(StageTransition transition)
    {
        string nextStageName = transition.GetNextStageName();
        Stage  nextStage     = CurrentLevel.GetStage(nextStageName);

        MainCamera.ExecutePortalTransition(nextStage, transition);

        CurrentStage = nextStage;
    }