private void OnIntroFinished(Introduction introduction) { if (!string.IsNullOrEmpty(nameOfScene)) { SceneTransitionSystem.Instance.Transition(nameOfTransition, nameOfScene, loadSceneMode); } }
/// <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); }
private void OnIntroStarted(Introduction intro) { IsActive = true; ActiveIntro = intro; }
public void SetIntroduction(Introduction newIntroduction) { introToStart = newIntroduction; }