Files
HauntedBloodlines/Assets/Scripts/Events/EventDelegateTrigger.cs
2025-05-29 22:31:40 +03:00

15 lines
295 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EventDelegateTrigger : MonoBehaviour
{
public delegate void OnActionHappened();
public event OnActionHappened onEvent;
public void OnEventInvoke()
{
onEvent?.Invoke();
}
}