14 lines
441 B
C#
14 lines
441 B
C#
using UnityEngine;
|
|
using UnityEngine.Playables;
|
|
using UnityEngine.Timeline;
|
|
|
|
[TrackColor(0.1f, 0.2f, 0.8f)]
|
|
[TrackClipType(typeof(NumberScrollPlayableAsset))]
|
|
[TrackBindingType(typeof(TextMesh))]
|
|
public class NumberScrollTrack : TrackAsset
|
|
{
|
|
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
|
|
{
|
|
return ScriptPlayable<NumberScrollPlayableBehaviour>.Create(graph, inputCount);
|
|
}
|
|
} |