Files
LowPolyRPG/Assets/Plugins/Nullframes/Intrigues/Scripts/Actor/IRuntime.cs
Caleb Sandford deQuincey 715fb68744 Initial commitment
2025-06-25 11:10:11 +01:00

20 lines
484 B
C#

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);
}
}