public Transition(StoryScene Scene, float Time, Color?FadeColor) { m_TargetType = TargetType.Scene; m_TargetScene = Scene; m_TargetPoint = null; m_Time = Time; m_FadeColor = FadeColor ?? Color.black; }
public Transition(StoryTeleportPoint Point, float Time, Color?FadeColor) { m_TargetType = TargetType.TeleportPoint; m_TargetScene = null; m_TargetPoint = Point; m_Time = Time; m_FadeColor = FadeColor ?? Color.black; }
public void OnTeleported(StoryTeleportPoint Point) { m_CurrentPoint = Point; UpdateHUD(); }
public void TransitionTo(StoryTeleportPoint Point, TransitionType Type = TransitionType.Instant, float FadeTime = 1, Color?FadeColor = null) { TransitionTo(new Transition(Point, FadeTime, FadeColor), Type, FadeTime, FadeColor); }