toggle group bug?

Liaoer
Thu, 20 Dec 2018 03:09:31 +0000

代码中设置的 ToggleGrouop，然后隐藏节点的时候出现。
Uncaught TypeError: this.toggleGroup.removeToggle is not a function
at cc_Toggle.onDisable (CCToggle.js:141)
at cc_Toggle.onDisable (CCClass.js:778)
at CCClass.disableComp (component-scheduler.js:411)
at CCClass._deactivateNodeRecursively (node-activator.js:194)
at CCClass._deactivateNodeRecursively (node-activator.js:206)
at CCClass.activateNode (node-activator.js:234)
at cc_Node._onHierarchyChanged (base-node.js:136)
at cc_Node._onHierarchyChanged (CCNode.js:1264)
at cc_Node.setParent (base-node.js:404)
at cc_Node.removeAllChildren (base-node.js:755)

阅读整个主题