如何设置UpdateController (SDK for Cocos Creator)
最終更新: 2023年3月14日
本页说明在Cocos Creator中控制Cubism各组件的执行顺序的步骤。
以下内容以追加到已执行“载入SDK”的项目为前提。
概述
使用CubismHarmonicMotionController控制各组件的执行顺序。
单击Cocos Creator菜单中的[Live2D/Cubism/OriginalWorkflow/ Toggle Should Import As Original Workflow],如下图所示在true的状态下载入模型后,将在生成的Prefab中设置该组件。


如果您想控制没有进行上述设置的模型的各Cubism组件更新顺序,可以通过本文说明的过程进行设置。
要为Cubism模型设置UpdateController,请执行以下操作:
- 附加CubismUpdateController
1.附加CubismUpdateController
将控制组件更新顺序的“CubismUpdateController”附加到作为模型根的Node 。

请问这篇文章对您有帮助吗?
是否