mirror of
https://udrimavric.com/MAVRIC/Stratasys-450mc-VR.git
synced 2025-01-23 15:48:33 -05:00
19 lines
414 B
C#
Executable File
19 lines
414 B
C#
Executable File
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
|
|
namespace SO.Channels
|
|
{
|
|
[CreateAssetMenu(menuName = "Channel/SimpleChannelSO")]
|
|
public class SimpleChannelSO : ScriptableObject
|
|
{
|
|
public UnityAction OnEventRaised;
|
|
|
|
[DisableInEditorMode, Button]
|
|
public void RaiseEvent()
|
|
{
|
|
OnEventRaised?.Invoke();
|
|
}
|
|
}
|
|
}
|