移除LayerUI中的size属性,避免与NodeExt中的size属性重名

This commit is contained in:
donggang
2024-03-08 15:33:36 +08:00
parent bd38e4a468
commit 0e04f06f8d

View File

@@ -257,11 +257,6 @@ export class LayerUI extends Node {
return result;
}
/** 层节点数量 */
size(): number {
return this.children.length;
}
/**
* 清除所有节点,队列当中的也删除
* @param isDestroy 移除后是否释放