A lot of stuff to Commit because I forgot to Commit in between (Don't do stuff like this, kids)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Playables;
|
||||
using UnityEngine.Timeline;
|
||||
|
||||
[TrackBindingType(typeof(TextMeshProUGUI))]
|
||||
[TrackClipType(typeof(SubtitleTrackClip))]
|
||||
public class SubtitleTrack : TrackAsset
|
||||
{
|
||||
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
|
||||
{
|
||||
return ScriptPlayable<SubtitleTrackMixer>.Create(graph, inputCount);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user