关于使用Javascript state machine作为插件,微信小游戏找不到的问题

VM13:1 gameThirdScriptError
StateMachine is not defined;at setTimeout callback function
ReferenceError: StateMachine is not defined
at C.r.start (http://127.0.0.1:64749/game/src/project.js:1656:9)
at http://127.0.0.1:64749/game/onlineplugin/wx7095f7fa398a2f30/2.3.1/plugin.js:5:393109
at C.r._invoke (http://127.0.0.1:64749/game/onlineplugin/wx7095f7fa398a2f30/2.3.1/plugin.js:5:392822)
at C.r.invoke (http://127.0.0.1:64749/game/onlineplugin/wx7095f7fa398a2f30/2.3.1/plugin.js:5:392141)
at C.r.startPhase (http://127.0.0.1:64749/game/onlineplugin/wx7095f7fa398a2f30/2.3.1/plugin.js:5:395079)
at 70.cc.Director.mainLoop (http://127.0.0.1:64749/game/onlineplugin/wx7095f7fa398a2f30/2.3.1/plugin.js:5:275480)
at e (http://127.0.0.1:64749/game/adapter-min.js:112:141)

浏览器中使用正常

你好,请问解决了吗?谢谢