15 lines
182 B
C#
15 lines
182 B
C#
|
using UnityEngine;
|
||
|
using UnityEngine.Events;
|
||
|
|
||
|
namespace RoR2;
|
||
|
|
||
|
public class AwakeEvent : MonoBehaviour
|
||
|
{
|
||
|
public UnityEvent action;
|
||
|
|
||
|
private void Awake()
|
||
|
{
|
||
|
action.Invoke();
|
||
|
}
|
||
|
}
|