Creator版本 : 2.3.3
插件名称:代码混淆工具
插件链接:http://store.cocos.com/#/resources/detail/2317
我的代码如下,使用商店插件,使用默认参数混淆后,this._super相关调用会提示找不到函数。
cc.Class({
extends: cc.Toggle,
properties: {
},
// LIFE-CYCLE CALLBACKS:
onEnable() {
//cc.Toggle.prototype.onEnable.bind(this)()
this._super()
this._updateCheckMark()
},
_updateCheckMark() {
//cc.Toggle.prototype._updateCheckMark.bind(this)()
this._super()
this.target.active = !this.isChecked
}
});
微信开发者工具运行的报错信息及调用代码如下:



