using UnityEngine.Events;
using UnityEngine;
///
/// This class is used for Events that have one NPCMovementConfigSO argument.
///
[CreateAssetMenu(menuName = "Events/NPC Movement Event Channel")]
public class NPCMovementEventChannelSO : EventChannelBaseSO
{
public UnityAction OnEventRaised;
public void RaiseEvent(NPCMovementConfigSO value)
{
if (OnEventRaised != null)
OnEventRaised.Invoke(value);
}
}