com.alicizax.unity.framework/Runtime/FSM/IFsmModule.cs
2025-11-18 16:15:11 +08:00

14 lines
403 B
C#

using System;
using System.Collections.Generic;
namespace AlicizaX
{
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;
}
}