17 行
260 B
17 行
260 B
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
|
|
namespace GameplayIngredients.Hooks
|
|
{
|
|
public class OnAwakeHook : MonoBehaviour
|
|
{
|
|
public UnityEvent onAwake;
|
|
|
|
private void Awake()
|
|
{
|
|
onAwake.Invoke();
|
|
}
|
|
}
|
|
}
|
|
|
|
|