cocos creator怎么隐藏组件(setVisible)

以 label 为例:

this.label.node.active = fasle 隐藏节点
this.label.ndoe.active = true显示节点

原文地址:https://www.cnblogs.com/luorende/p/9066478.html