修复3.8.4无法显示inspect的bug

This commit is contained in:
xu_yanfeng 2025-02-13 16:33:52 +08:00
parent 2e1112f526
commit 9c33219a72

View File

@ -122,7 +122,7 @@ export class HintV3 extends HintAdapter {
return camera; return camera;
} }
private getLayerID() { private getLayerID() {
return cc.Layers.Enum.GIZMOS; return cc.Layers.Enum.UI_2D;
} }
getRectPoints(node: any): RectPoints | null { getRectPoints(node: any): RectPoints | null {
if (!node.worldPosition) { if (!node.worldPosition) {