Пример #1
0
 // after the dialogue starts cameras, get the transform
 private void GetLatestCameraTransform(Dialogue.DialogueData.DialoguePoint conversation, ref Vector3 outPosition, ref Quaternion outRotation)
 {
     if (Cinematic.IsCinematicActive())
     {
         Cinematic.GetCurrentCinematicTransform(ref outPosition, ref outRotation);
     }
     else
     {
         _cameraComponent.GetNewestGameCameraBehaviorTransform(ref outPosition, ref outRotation);
     }
 }