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:
cblech
2025-01-05 13:47:14 +01:00
parent 03d130cde6
commit 8c961cbf2d
87 changed files with 22246 additions and 42 deletions
@@ -0,0 +1,17 @@
using UnityEngine;
using UnityEngine.Playables;
public class SubtitleTrackClip : PlayableAsset
{
public string subtitleText;
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
{
var playable = ScriptPlayable<SubtitleTrackBehaviour>.Create(graph);
var subtitleTrackBehaviour = playable.GetBehaviour();
subtitleTrackBehaviour.subtitleText = subtitleText;
return playable;
}
}