RiftMayhem/Assets/Audio/Scripts/UnityEventOnEnable.cs
2025-06-08 12:18:13 +01:00

16 lines
320 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class UnityEventOnEnable : MonoBehaviour
{
public UnityEvent onEnableUE = new UnityEvent();
private void OnEnable()
{
onEnableUE.Invoke();
Debug.Log("ON ENABLE EVENT:");
}
}