You've already forked taptap2024_GJ_chidouren
init
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# FSMController.RemoveFSM
|
||||
|
||||
|
||||
|
||||
### 方法:
|
||||
|
||||
public static void RemoveFSM(string fsmName);
|
||||
|
||||
### 说明:
|
||||
|
||||
移除通过FSMController.StartupFSM启动的状态机
|
||||
|
||||
|
||||
### 参数
|
||||
|
||||
| 名称 | 说明 |
|
||||
| ----------- | ----------- |
|
||||
| fsmName | 状态机名称 |
|
||||
|
||||
|
||||
### 代码示例:
|
||||
|
||||
> ```none
|
||||
>
|
||||
>using UnityEngine;
|
||||
>
|
||||
>public class TestFSMController : MonoBehaviour
|
||||
>{
|
||||
> void Start()
|
||||
> {
|
||||
> // 移除状态机GameState
|
||||
> FSMController.RemoveFSM("GameState");
|
||||
> }
|
||||
>}
|
||||
> ```
|
||||
Reference in New Issue
Block a user