-
Creator 版本:3.5.2
-
重现方式:Overwriting ‘destroy’ function in ‘Entity’ class without calling super is not allowed.
重写的组件的 destroy 方法 并调用 super.destroy() 依然会报错;
貌似应该是引擎中的正则匹配有问题!
Creator 版本:3.5.2
重现方式:Overwriting ‘destroy’ function in ‘Entity’ class without calling super is not allowed.
重写的组件的 destroy 方法 并调用 super.destroy() 依然会报错;
貌似应该是引擎中的正则匹配有问题!
临时解决方案:
用注释做个伪装
// this._super.call()
我刚准备入3.8的坑。今天也遇到这个问题了。版本:3.8.6.