Stratasys-450mc-VR/Assets/Scripts/SO/Channels/StepChangeChannelSO.cs
2023-11-01 10:51:29 -04:00

17 lines
376 B
C#
Executable File

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);
}
}
}