public static void ClearCameraMovements() { WaitingMovements.Clear(); CurrentMovement = null; WaitingLookMovements.Clear(); CurrentLookMovement = null; }
public static void EnqueueLookMovement(SplineMovement nextLookMovement) { if (CurrentLookMovement == null) { AssignNextLookMovement(nextLookMovement); } else { WaitingLookMovements.Enqueue(nextLookMovement); } }
private static void ConcludeLookMovement(SplineMovement currentLookMovement) { PriorLookPoint = CurrentLookPoint; CurrentLookPoint = currentLookMovement.TargetTransform; if (WaitingLookMovements.Any()) { AssignNextLookMovement(WaitingLookMovements.Dequeue()); } else { CurrentLookMovement = null; } }