Files
Jeremy/Assets/Scripts/TrackStuff/MyButtonTrackClip.cs
T

12 lines
297 B
C#
Raw Normal View History

2025-01-05 02:16:26 +01:00
using UnityEngine;
using UnityEngine.Playables;
public class MyButtonTrackClip : PlayableAsset
{
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
{
var playable = ScriptPlayable<MyButtonTrackBehaviour>.Create(graph);
return playable;
}
}