示例#1
0
 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;
 }
示例#2
0
 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;
 }
示例#3
0
 public void OnTeleported(StoryTeleportPoint Point)
 {
     m_CurrentPoint = Point;
     UpdateHUD();
 }
示例#4
0
 public void TransitionTo(StoryTeleportPoint Point, TransitionType Type = TransitionType.Instant, float FadeTime = 1, Color?FadeColor = null)
 {
     TransitionTo(new Transition(Point, FadeTime, FadeColor), Type, FadeTime, FadeColor);
 }