using Sirenix.OdinInspector; using UnityEngine; using UnityEngine.Events; namespace SO.Channels { [CreateAssetMenu(menuName = "Channel/StepChangeChannelSO")] public class StepChangeChannelSO : ScriptableObject { [SerializeField, ReadOnly] private StepSO currentStep; public UnityAction OnStepChanged; public void RaiseEvent(StepSO step) { OnStepChanged?.Invoke(currentStep = step); } } }