using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Playables; public class DialogueClip : PlayableAsset { public DialogueBehavior template = new DialogueBehavior(); public override Playable CreatePlayable(PlayableGraph graph, GameObject owner) { var playable = ScriptPlayable.Create(graph,template); return playable; } }