14 lines
415 B
C#
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;
|
||
|
}
|
||
|
}
|