mirror of
https://udrimavric.com/MAVRIC/Stratasys-450mc-VR.git
synced 2025-01-26 01:08:28 -05:00
20 lines
494 B
C#
Executable File
20 lines
494 B
C#
Executable File
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<StepSO> OnStepChanged;
|
|
|
|
public void RaiseEvent(StepSO step)
|
|
{
|
|
OnStepChanged?.Invoke(currentStep = step);
|
|
}
|
|
}
|
|
}
|