feat: add setVisible for Node

This commit is contained in:
LeoYuan 袁力皓 2022-06-13 16:37:25 +08:00 committed by 林熠
parent a9a118fe6e
commit ba90327eac

View File

@ -306,6 +306,10 @@ export default class Node {
return this[nodeSymbol].getVisible();
}
setVisible(flag: boolean) {
this[nodeSymbol].setVisible(flag);
}
isConditionalVisible() {
return this[nodeSymbol].isConditionalVisible();
}