diff --git a/Assets/Scripts/Controller/StateMachineController.cs b/Assets/Scripts/Controller/StateMachineController.cs index f2a4b366..ae0d95c9 100644 --- a/Assets/Scripts/Controller/StateMachineController.cs +++ b/Assets/Scripts/Controller/StateMachineController.cs @@ -37,7 +37,7 @@ public class StateMachineController : MonoSingleton private void OnStart(OnModuleStart start) { - foreach (var item in Global.Instance.appData.Modules[0].FSM) + foreach (var item in Global.Instance.curModule.FSM) { FSM fsm = new FSM(); var fsmInfo = new FsmInfo(); diff --git a/Doc/Xml配置文档.xml b/Doc/Xml配置文档.xml index 0b3a9b2b..439ddfe7 100644 --- a/Doc/Xml配置文档.xml +++ b/Doc/Xml配置文档.xml @@ -183,6 +183,10 @@ + + + +