You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
376 B
C#
16 lines
376 B
C#
1 year ago
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|