using Sirenix.OdinInspector; using UnityEngine; using UnityEngine.Events; namespace SO.Channels { [CreateAssetMenu(menuName = "Channel/SimpleChannelSO")] public class SimpleChannelSO : ScriptableObject { public UnityAction OnEventRaised; [DisableInEditorMode, Button] public void RaiseEvent() { OnEventRaised?.Invoke(); } } }