逻辑优化

This commit is contained in:
xyf-mac
2021-11-21 21:36:16 +08:00
parent 22cd02408d
commit 9e93dfbf16
4 changed files with 29 additions and 26 deletions

View File

@@ -127,7 +127,8 @@ class CCInspector {
this.getNodeChildren(scene, treeData)
this.sendMsgToContent(Msg.TreeInfo, treeData);
} else {
this.sendMsgToContent(Msg.Support, {support: false, msg: "未发现游戏场景,不支持调试游戏!"});
console.warn("can't execute api : cc.director.getScene")
this.notifySupportGame(false);
}
} else {
this.notifySupportGame(false)