private void OnIntroFinished(Introduction introduction)
 {
     if (!string.IsNullOrEmpty(nameOfScene))
     {
         SceneTransitionSystem.Instance.Transition(nameOfTransition, nameOfScene, loadSceneMode);
     }
 }
Пример #2
0
 /// <summary>Called when a introduction has been finished to fire event and set active state</summary>
 private void OnIntroFinished(Introduction introduction)
 {
     IsActive    = false;
     ActiveIntro = null;
     IntroFinished?.Invoke(introduction);
 }
Пример #3
0
 private void OnIntroStarted(Introduction intro)
 {
     IsActive    = true;
     ActiveIntro = intro;
 }
Пример #4
0
 public void SetIntroduction(Introduction newIntroduction)
 {
     introToStart = newIntroduction;
 }