15 lines
189 B
C#
15 lines
189 B
C#
|
using UnityEngine;
|
||
|
using UnityEngine.Events;
|
||
|
|
||
|
namespace RoR2;
|
||
|
|
||
|
public class OnEnableEvent : MonoBehaviour
|
||
|
{
|
||
|
public UnityEvent action;
|
||
|
|
||
|
private void OnEnable()
|
||
|
{
|
||
|
action?.Invoke();
|
||
|
}
|
||
|
}
|