CinemachineShotPlayable.cs 397 B

1234567891011121314151617
  1. #if !UNITY_2019_1_OR_NEWER
  2. #define CINEMACHINE_TIMELINE
  3. #endif
  4. #if CINEMACHINE_TIMELINE
  5. using UnityEngine.Playables;
  6. using Cinemachine;
  7. //namespace Cinemachine.Timeline
  8. //{
  9. internal sealed class CinemachineShotPlayable : PlayableBehaviour
  10. {
  11. public CinemachineVirtualCameraBase VirtualCamera;
  12. public bool IsValid { get { return VirtualCamera != null; } }
  13. }
  14. //}
  15. #endif