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