unity脚本收集
This commit is contained in:
1 parent
ab57544ef5
commit
d88804cd63
16 files changed
+1325
-1
No files matched your search
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user