Files
beyond/Assets/ThirdParty/Invector-3rdPersonController/Basic Locomotion/Scripts/Generic/Utils/vEnableDisableEvent.cs
2024-11-20 15:21:28 +01:00

17 lines
338 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class vEnableDisableEvent : MonoBehaviour
{
public UnityEngine.Events.UnityEvent onEnable, onDisable;
private void OnEnable()
{
onEnable.Invoke();
}
private void OnDisable()
{
onDisable.Invoke();
}
}