this.node.getChildByName('btn').getComponent(cc.Button).interactable = false;
this.node.getChildByName('btn').getComponent(cc.Button).enabled = false;
注意是对button组件操作不是对节点操作
this.node.getChildByName('btn').getComponent(cc.Button).interactable = false;
this.node.getChildByName('btn').getComponent(cc.Button).enabled = false;
注意是对button组件操作不是对节点操作