TrackPropertyCurvesDataSource.cs 376 B

123456789101112131415
  1. using UnityEngine;
  2. using UnityEngine.Timeline;
  3. namespace UnityEditor.Timeline
  4. {
  5. class TrackPropertyCurvesDataSource : BasePropertyKeyDataSource
  6. {
  7. protected override AnimationClip animationClip { get; }
  8. public TrackPropertyCurvesDataSource(TrackAsset track)
  9. {
  10. animationClip = track != null ? track.curves : null;
  11. }
  12. }
  13. }