mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-16 07:01:03 +00:00
节点树显示绿色为预制体
This commit is contained in:
parent
cc3c93c56c
commit
b6b5a68014
@ -303,7 +303,11 @@ export class Inspector extends InjectEvent {
|
||||
return null;
|
||||
}
|
||||
private calcColor(node: any) {
|
||||
return "";
|
||||
if (node._prefab) {
|
||||
return "#00ff00ff";
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
// 收集节点信息
|
||||
getNodeChildren(node: any, data: TreeData) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user