Files
BABA_YAGA/Assets/Scripts/Player/Generic/Utils/vEnableDisableEvent.cs

15 lines
274 B
C#
Raw Normal View History

2026-05-30 09:16:35 +07:00
using UnityEngine;
public class vEnableDisableEvent : MonoBehaviour
{
public UnityEngine.Events.UnityEvent onEnable, onDisable;
private void OnEnable()
{
onEnable.Invoke();
}
private void OnDisable()
{
onDisable.Invoke();
}
}