cc.Class({
extends: cc.Component,
properties: { btnDebug: cc.Button },
// LIFE-CYCLE CALLBACKS:
onLoad() { this.btnDebug.interactable = true; },
start() { this.btnDebug.interactable = true; },
// update (dt) {},});
2.1.3没有这个问题,2.2.0出现的。
cc.Class({
extends: cc.Component,
properties: { btnDebug: cc.Button },
// LIFE-CYCLE CALLBACKS:
onLoad() { this.btnDebug.interactable = true; },
start() { this.btnDebug.interactable = true; },
// update (dt) {},});
2.1.3没有这个问题,2.2.0出现的。