using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; [CreateAssetMenu(menuName = "Events/UI/Dialogue Choice Channel")] public class DialogueChoiceChannelSO : ScriptableObject { public UnityAction OnEventRaised; public void RaiseEvent(Choice choice) { if (OnEventRaised != null) OnEventRaised.Invoke(choice); } }