mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-10-23 00:35:23 +00:00
添加测试tree的入口,适配基本的tree逻辑
This commit is contained in:
@@ -191,8 +191,8 @@ class CCInspector {
|
||||
|
||||
// 收集节点信息
|
||||
getNodeChildren(node: any, data: TreeData) {
|
||||
data.uuid = node.uuid;
|
||||
data.name = node.name;
|
||||
data.id = node.uuid;
|
||||
data.text = node.name;
|
||||
// @ts-ignore
|
||||
if (node instanceof cc.Scene) {
|
||||
// 场景不允许获取active,引擎会报错
|
||||
|
Reference in New Issue
Block a user