CogwheelUnity/Cogwheel/Library/PackageCache/com.unity.timeline@1.7.6/Editor/treeview/TrackPropertyCurvesDataSource.cs

16 lines
376 B
C#
Raw Normal View History

2024-10-02 04:23:13 +00:00
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;
}
}
}