mirror of
https://udrimavric.com/MAVRIC/Stratasys-450mc-VR.git
synced 2025-01-23 15:48:33 -05:00
17 lines
402 B
C#
17 lines
402 B
C#
|
using UnityEngine;
|
||
|
using UnityEngine.Events;
|
||
|
|
||
|
namespace SO.Channels
|
||
|
{
|
||
|
[CreateAssetMenu(menuName = "Channel/MachineChangeChannelSO")]
|
||
|
public class MachineChangeChannelSO : ScriptableObject
|
||
|
{
|
||
|
public UnityAction<MachineSO> OnMachineChange;
|
||
|
|
||
|
public void RaiseEvent(MachineSO machine)
|
||
|
{
|
||
|
OnMachineChange?.Invoke(machine);
|
||
|
}
|
||
|
}
|
||
|
}
|