mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-10-23 00:35:23 +00:00
优化多个frame的inspect target的逻辑
This commit is contained in:
@@ -201,6 +201,9 @@ export class Inspector extends InjectEvent {
|
||||
"quat",
|
||||
"node",
|
||||
"components",
|
||||
"enabledInHierarchy",
|
||||
"hideFlags",
|
||||
"isValid",
|
||||
"parent",
|
||||
// 生命周期函数
|
||||
"onFocusInEditor",
|
||||
@@ -214,6 +217,14 @@ export class Inspector extends InjectEvent {
|
||||
"onDisable",
|
||||
"onDestroy",
|
||||
"onLoad",
|
||||
"internalLateUpdate",
|
||||
"internalOnDestroy",
|
||||
"internalOnEnable",
|
||||
"internalOnDisable",
|
||||
"internalUpdate",
|
||||
"internalPreload",
|
||||
"internalOnLoad",
|
||||
"internalStart",
|
||||
];
|
||||
const keyHidden = this.getAllPropertyDescriptors(node);
|
||||
const keyVisible1 = Object.keys(node); // Object不走原型链
|
||||
|
Reference in New Issue
Block a user