You've already forked taptap2024_GJ_chidouren
init
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# FSMController.RuntimeFSMController
|
||||
|
||||
|
||||
### 属性:
|
||||
|
||||
public List<*RuntimeFSMController*> RuntimeFSMController;
|
||||
|
||||
### 说明:
|
||||
|
||||
当前状态机执行的状态配置文件列表
|
||||
|
||||
可在下图中配置:
|
||||
|
||||

|
||||
|
||||
### 代码示例:
|
||||
|
||||
> ```none
|
||||
>
|
||||
>public class TestFSMController : MonoBehaviour
|
||||
>{
|
||||
> private FSMController controller;
|
||||
>
|
||||
> // Start is called before the first frame update
|
||||
> void Start()
|
||||
> {
|
||||
> controller = GetComponent<FSMController>();
|
||||
> foreach (var item in controller.RuntimeFSMController)
|
||||
> {
|
||||
> Debug.LogFormat("状态配置名称:{0}", item.name);
|
||||
> }
|
||||
> }
|
||||
>}
|
||||
>
|
||||
> ```
|
||||
Reference in New Issue
Block a user