14 lines
413 B
C#
14 lines
413 B
C#
using UnityEngine;
|
|
using UnityEngine.Playables;
|
|
using UnityEngine.Timeline;
|
|
|
|
[TrackColor(0.855f, 0.8623f, 0.87f)]
|
|
[TrackClipType(typeof(TimeDilationClip))]
|
|
public class TimeDilationTrack : TrackAsset
|
|
{
|
|
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
|
|
{
|
|
return ScriptPlayable<TimeDilationMixerBehaviour>.Create (graph, inputCount);
|
|
}
|
|
}
|