Luca Wey c7940aa8ea Revert "Musik Anderswelt & Effekte"
This reverts commit 574b404c2db3de8f6612460326a6881ac85c9f61
2023-06-07 11:42:40 +02:00

23 lines
552 B
C#

using System;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
[Serializable]
public class RPGTalkCinematicClip : PlayableAsset, ITimelineClipAsset
{
public RPGTalkCinematicBehaviour template = new RPGTalkCinematicBehaviour ();
public ClipCaps clipCaps
{
get { return ClipCaps.None; }
}
public override Playable CreatePlayable (PlayableGraph graph, GameObject owner)
{
var playable = ScriptPlayable<RPGTalkCinematicBehaviour>.Create (graph, template);
return playable;
}
}