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 : DescriptionBaseSO
{
public UnityAction OnEventRaised;
public void RaiseEvent(NPCMovementConfigSO value)
{
if (OnEventRaised != null)
OnEventRaised.Invoke(value);
}
}