using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.Playables; [CreateAssetMenu(menuName = "Events/Playable Director Channel")] public class PlayableDirectorChannelSO : ScriptableObject { public UnityAction OnEventRaised; public void RaiseEvent(PlayableDirector playable) { if (OnEventRaised != null) OnEventRaised.Invoke(playable); } }