com.alicizax.unity.framework/Runtime/FSM/IFsmModule.cs
2025-09-05 19:46:30 +08:00

14 lines
415 B
C#

using System;
using System.Collections.Generic;
namespace AlicizaX.Fsm.Runtime
{
public interface IFsmModule : IModule, IModuleUpdate, IModuleAwake, IModuleLateUpdate
{
Fsm<T> Create<T>(FsmConfig<T> cfg, UnityEngine.Object owner = null, Func<int, string> stateNameGetter = null)
where T : class, IMemory, new();
void DestroyFsm<T>(Fsm<T> fsm) where T : class, IMemory;
}
}