Stratasys-450mc-VR/Assets/Scripts/SO/Channels/StepChangeChannelSO.cs

17 lines
376 B
C#
Raw Normal View History

2023-11-01 10:51:29 -04:00
using UnityEngine;
using UnityEngine.Events;
namespace SO.Channels
{
[CreateAssetMenu(menuName = "Channel/StepChangeChannelSO")]
public class StepChangeChannelSO : ScriptableObject
{
public UnityAction<StepSO> OnStepChanged;
public void RaiseEvent(StepSO step)
{
OnStepChanged?.Invoke(step);
}
}
}