Files

20 lines
484 B
C#
Raw Permalink Normal View History

2025-06-25 11:10:11 +01:00
using UnityEngine;
namespace Nullframes.Intrigues
{
[DefaultExecutionOrder(-370)]
public abstract class IRuntime : MonoBehaviour
{
private void Awake()
{
IM.onRuntimeActorCreated += OnRuntimeActorCreated;
}
private void OnDestroy()
{
IM.onRuntimeActorCreated -= OnRuntimeActorCreated;
}
protected abstract void OnRuntimeActorCreated(Actor runtimeActor, GameObject actorGameObject);
}
}