Ver código fonte

radar 侦探UI

woso_javan 1 mês atrás
pai
commit
b2e5b57f08

+ 6 - 0
assets/module_aliens/RoosterAliens.ts

@@ -50,6 +50,7 @@ export class RoosterAliens extends Component {
         btnShoot.on(NodeEventType.TOUCH_END, () => this.onShoot(), this);
         btnStart.on(NodeEventType.TOUCH_END, () => this.onStart(), this);
         btnRender.on(NodeEventType.TOUCH_END, () => this.onScreenShot(), this);
+        btnProbe.on(NodeEventType.TOUCH_END, () => this.onRadar(), this);
         //TEST
         EventDispatcher.instance.on(GameEvent.EVENT_CAMERA_SHOOT_TEXT,this.testShoot,this);
     }
@@ -83,6 +84,11 @@ export class RoosterAliens extends Component {
         EventDispatcher.instance.emit(GameEvent.EVENT_CAMERA_SCREENSHOT);
     }
 
+    private onRadar(){
+        console.log('侦擦');
+        EventDispatcher.instance.emit(GameEvent.EVENT_CAMERA_SCREENSHOT_RADAR); 
+    }
+
     private async onStart(): Promise<void> {
         await this.startGame();
         AliensGlobalInstance.instance.homeUI.active = false;

+ 2 - 0
assets/module_aliens/Script/AliensGlobalInstance.ts

@@ -32,6 +32,7 @@ export class AliensGlobalInstance extends Component {
         this.titleLvl = find("Canvas/GameUI/BattleUI/TitleLvl");
         this.aimNode = find("Canvas/GameUI/BattleUI/AimNode");
         this.aimTarget = find("Canvas/GameUI/BattleUI/AimTarget");
+        this.radarNode = find("Canvas/GameUI/BattleUI/Radar");
         this.lbTestShoot = find("Canvas/GameUI/BattleUI/LbTestShoot").getComponent(Label)!;
         this.renderNode = find("Canvas/GameUI/BattleUI/Render");
     }
@@ -46,6 +47,7 @@ export class AliensGlobalInstance extends Component {
     public titleLvl: Node = null!; //标题
     public aimNode: Node = null!; //瞄准节点
     public aimTarget: Node = null!; //瞄准放大节点
+    public radarNode: Node = null!; //侦擦节点
     public lbTestShoot:Label = null!; //测试射击
 
     public renderNode: Node = null!; //渲染节点

+ 51 - 0
assets/module_aliens/Script/Components/RadarComponent.ts

@@ -0,0 +1,51 @@
+import { _decorator, Component, Node, Vec3 } from 'cc';
+import { EventDispatcher } from 'db://assets/core_tgx/easy_ui_framework/EventDispatcher';
+import { GameEvent } from '../Enum/GameEvent';
+import { AliensGlobalInstance } from '../AliensGlobalInstance';
+const { ccclass, property } = _decorator;
+
+@ccclass('RadarComponent')
+export class RadarComponent extends Component {
+
+    //渲染的目标节点
+    private _targetNode: Node = null!;
+
+    start() {
+        this.registerEvent();
+    }
+
+    private registerEvent(){
+        EventDispatcher.instance.on(GameEvent.EVENT_CAMERA_SCREENSHOT_RADAR,this.onRadar,this);
+    }
+
+    private unregisterEvent(){
+        EventDispatcher.instance.off(GameEvent.EVENT_CAMERA_SCREENSHOT_RADAR,this.onRadar,this);
+    }
+
+    private async onRadar(){
+        this.node.active = true;
+
+        //获取目标节点
+        this._targetNode = await this.getTargetNode();
+    }
+
+    //显示侦擦目标的位置
+    public showRadarTargetPos(targetPos:Vec3){
+        console.log('显示侦擦目标的位置:',targetPos);
+    }
+
+    //获取目标节点
+    private  async getTargetNode():Promise<Node> {
+        return new Promise<Node>((resolve, reject) => {
+            const levelNode = AliensGlobalInstance.instance.levels.children[0];
+            const et = levelNode.getChildByName('et');
+            resolve(et.children[Math.floor(Math.random() * et.children.length)]);
+        });
+    }
+
+    protected onDestroy(): void {
+        this.unregisterEvent();
+    }
+}
+
+

+ 9 - 0
assets/module_aliens/Script/Components/RadarComponent.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "11d4e42e-b25b-49ad-851e-d67e3685a80d",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 3 - 0
assets/module_aliens/Script/Enum/GameEvent.ts

@@ -18,6 +18,9 @@ export class GameEvent {
     /** 截图事件*/
     static readonly EVENT_CAMERA_SCREENSHOT = 'EVENT_CAMERA_SCREENSHOT';
 
+    /** 侦探事件*/
+    static readonly EVENT_CAMERA_SCREENSHOT_RADAR = 'EVENT_CAMERA_SCREENSHOT_RADAR';
+
     /** 击中文本提示测试*/
     static readonly EVENT_CAMERA_SHOOT_TEXT = 'EVENT_CAMERA_SHOOT_TEXT';
 

+ 7 - 5
assets/module_aliens/Script/LevelAction.ts

@@ -1,4 +1,4 @@
-import { _decorator, BoxCollider2D, Button, Camera, CircleCollider2D, Color, Component, debug, DebugView, director, EventTouch, find, geometry, Input, input, Node, NodeEventType, PhysicsSystem, RenderTexture, Tween, tween, v3, Vec3, view } from 'cc';
+import { _decorator, BoxCollider2D, Button, Camera, CCFloat, CircleCollider2D, Color, Component, debug, DebugView, director, EventTouch, find, geometry, Input, input, Node, NodeEventType, PhysicsSystem, RenderTexture, Tween, tween, v3, Vec3, view } from 'cc';
 import { EventDispatcher } from '../../core_tgx/easy_ui_framework/EventDispatcher';
 import { GameEvent } from './Enum/GameEvent';
 import { LineDrawer } from './LineDrawer';
@@ -27,13 +27,13 @@ export class LevelAction extends Component {
     public targetNode: Node = null!;
 
     // 添加旋转限制属性
-    @property({type: Number,displayName:"相机X轴最小旋转角度(上下)"})
+    @property({type: CCFloat ,displayName:"相机X轴最小旋转角度(上下)"})
     public minXRotation: number = -30;  // X轴最小旋转角度(上下)
-    @property({type: Number,displayName:"相机X轴最大旋转角度(上下)"}) 
+    @property({type: CCFloat ,displayName:"相机X轴最大旋转角度(上下)"}) 
     public maxXRotation: number = 30;   // X轴最大旋转角度(上下)
-    @property({type: Number,displayName:"相机Y轴最小旋转角度(左右)"})
+    @property({type: CCFloat ,displayName:"相机Y轴最小旋转角度(左右)"})
     public minYRotation: number = -50;  // Y轴最小旋转角度(左右)
-    @property({type: Number,displayName:"相机Y轴最大旋转角度(左右)"})
+    @property({type: CCFloat ,displayName:"相机Y轴最大旋转角度(左右)"})
     public maxYRotation: number = 50;   // Y轴最大旋转角度(左右)
     private _originalRotation: Vec3 = v3();
 
@@ -56,8 +56,10 @@ export class LevelAction extends Component {
     private initilizeUI(){
         const renderNode = AliensGlobalInstance.instance.renderNode;
         const aimTarget = AliensGlobalInstance.instance.aimTarget;
+        const radarNode = AliensGlobalInstance.instance.radarNode;
         renderNode.active = false;
         aimTarget.active = false;
+        radarNode.active = false;
     }
 
     private registerEvent(){

BIN
assets/module_aliens/Textures/circle.png


+ 134 - 0
assets/module_aliens/Textures/circle.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.26",
+  "importer": "image",
+  "imported": true,
+  "uuid": "bf2ed2b2-d4b2-433a-bd9c-01c51a4e6f3f",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "bf2ed2b2-d4b2-433a-bd9c-01c51a4e6f3f@6c48a",
+      "displayName": "circle",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "bf2ed2b2-d4b2-433a-bd9c-01c51a4e6f3f",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "nearest",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "bf2ed2b2-d4b2-433a-bd9c-01c51a4e6f3f@f9941",
+      "displayName": "circle",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 7,
+        "trimY": 7,
+        "width": 498,
+        "height": 498,
+        "rawWidth": 512,
+        "rawHeight": 512,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -249,
+            -249,
+            0,
+            249,
+            -249,
+            0,
+            -249,
+            249,
+            0,
+            249,
+            249,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            7,
+            505,
+            505,
+            505,
+            7,
+            7,
+            505,
+            7
+          ],
+          "nuv": [
+            0.013671875,
+            0.013671875,
+            0.986328125,
+            0.013671875,
+            0.013671875,
+            0.986328125,
+            0.986328125,
+            0.986328125
+          ],
+          "minPos": [
+            -249,
+            -249,
+            0
+          ],
+          "maxPos": [
+            249,
+            249,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "bf2ed2b2-d4b2-433a-bd9c-01c51a4e6f3f@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "bf2ed2b2-d4b2-433a-bd9c-01c51a4e6f3f@f9941"
+  }
+}

+ 335 - 208
assets/module_aliens/rooster_aliens.scene

@@ -23,7 +23,7 @@
     "_active": true,
     "_components": [],
     "_prefab": {
-      "__id__": 149
+      "__id__": 153
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -54,7 +54,7 @@
     },
     "autoReleaseAssets": false,
     "_globals": {
-      "__id__": 150
+      "__id__": 154
     },
     "_id": "be14c61f-22d8-4bb9-b444-ad9f29740469"
   },
@@ -77,22 +77,22 @@
         "__id__": 9
       },
       {
-        "__id__": 143
+        "__id__": 147
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 145
+        "__id__": 149
       },
       {
-        "__id__": 146
+        "__id__": 150
       },
       {
-        "__id__": 147
+        "__id__": 151
       },
       {
-        "__id__": 148
+        "__id__": 152
       }
     ],
     "_prefab": null,
@@ -370,16 +370,16 @@
         "__id__": 43
       },
       {
-        "__id__": 124
+        "__id__": 128
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 141
+        "__id__": 145
       },
       {
-        "__id__": 142
+        "__id__": 146
       }
     ],
     "_prefab": null,
@@ -1769,16 +1769,19 @@
         "__id__": 107
       },
       {
-        "__id__": 110
+        "__id__": 111
       },
       {
-        "__id__": 113
+        "__id__": 121
+      },
+      {
+        "__id__": 124
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 123
+        "__id__": 127
       }
     ],
     "_prefab": null,
@@ -4338,7 +4341,7 @@
   },
   {
     "__type__": "cc.Node",
-    "_name": "Guns",
+    "_name": "Radar",
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
@@ -4352,13 +4355,16 @@
       },
       {
         "__id__": 109
+      },
+      {
+        "__id__": 110
       }
     ],
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 272.299,
-      "y": -626.647,
+      "x": 0,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -4382,7 +4388,7 @@
       "y": 0,
       "z": 0
     },
-    "_id": "75LaJtEbpJQY3GSZh98Diw"
+    "_id": "baj9328GlMibJ63/otX03c"
   },
   {
     "__type__": "cc.UITransform",
@@ -4396,15 +4402,15 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 139,
-      "height": 165
+      "width": 498,
+      "height": 498
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
       "x": 0.5,
       "y": 0.5
     },
-    "_id": "12QJOn6phFTKf4w1q6x4zC"
+    "_id": "9fRxl6uFlDoodTDmFZ7UNb"
   },
   {
     "__type__": "cc.Sprite",
@@ -4427,7 +4433,7 @@
       "a": 255
     },
     "_spriteFrame": {
-      "__uuid__": "c4025150-2957-4586-a506-75f63dfc31d5@f9941",
+      "__uuid__": "bf2ed2b2-d4b2-433a-bd9c-01c51a4e6f3f@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
     "_type": 0,
@@ -4443,139 +4449,19 @@
     "_isTrimmedMode": true,
     "_useGrayscale": false,
     "_atlas": null,
-    "_id": "27ORh1BJZCgoGC1Gyu+PHz"
+    "_id": "13+LAOMlJM14XxeRxuLKU9"
   },
   {
-    "__type__": "cc.Node",
-    "_name": "LbTestShoot",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "_parent": {
-      "__id__": 43
-    },
-    "_children": [],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 111
-      },
-      {
-        "__id__": 112
-      }
-    ],
-    "_prefab": null,
-    "_lpos": {
-      "__type__": "cc.Vec3",
-      "x": 262.342,
-      "y": 736.2730000000001,
-      "z": 0
-    },
-    "_lrot": {
-      "__type__": "cc.Quat",
-      "x": 0,
-      "y": 0,
-      "z": 0,
-      "w": 1
-    },
-    "_lscale": {
-      "__type__": "cc.Vec3",
-      "x": 1,
-      "y": 1,
-      "z": 1
-    },
-    "_mobility": 0,
-    "_layer": 33554432,
-    "_euler": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
-    },
-    "_id": "82Ta3W/m1Mf4WFFehGwcu9"
-  },
-  {
-    "__type__": "cc.UITransform",
-    "_name": "",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "node": {
-      "__id__": 110
-    },
-    "_enabled": true,
-    "__prefab": null,
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 0,
-      "height": 50.4
-    },
-    "_anchorPoint": {
-      "__type__": "cc.Vec2",
-      "x": 0.5,
-      "y": 0.5
-    },
-    "_id": "3antjKp1VL67kyIQctkgg2"
-  },
-  {
-    "__type__": "cc.Label",
+    "__type__": "11d4eQusltJrYUe1n42hagN",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 110
+      "__id__": 107
     },
     "_enabled": true,
     "__prefab": null,
-    "_customMaterial": null,
-    "_srcBlendFactor": 2,
-    "_dstBlendFactor": 4,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_string": "",
-    "_horizontalAlign": 1,
-    "_verticalAlign": 1,
-    "_actualFontSize": 40,
-    "_fontSize": 40,
-    "_fontFamily": "Arial",
-    "_lineHeight": 40,
-    "_overflow": 0,
-    "_enableWrapText": true,
-    "_font": null,
-    "_isSystemFontUsed": true,
-    "_spacingX": 0,
-    "_isItalic": false,
-    "_isBold": false,
-    "_isUnderline": false,
-    "_underlineHeight": 2,
-    "_cacheMode": 0,
-    "_enableOutline": false,
-    "_outlineColor": {
-      "__type__": "cc.Color",
-      "r": 0,
-      "g": 0,
-      "b": 0,
-      "a": 255
-    },
-    "_outlineWidth": 2,
-    "_enableShadow": false,
-    "_shadowColor": {
-      "__type__": "cc.Color",
-      "r": 0,
-      "g": 0,
-      "b": 0,
-      "a": 255
-    },
-    "_shadowOffset": {
-      "__type__": "cc.Vec2",
-      "x": 2,
-      "y": 2
-    },
-    "_shadowBlur": 2,
-    "_id": "970+WwxYdD4qmTdb998BYd"
+    "_id": "baIWAm6ipGdLyQwQQw3/ng"
   },
   {
     "__type__": "cc.Node",
@@ -4587,19 +4473,19 @@
     },
     "_children": [
       {
-        "__id__": 114
+        "__id__": 112
       },
       {
-        "__id__": 118
+        "__id__": 116
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 121
+        "__id__": 119
       },
       {
-        "__id__": 122
+        "__id__": 120
       }
     ],
     "_prefab": null,
@@ -4638,19 +4524,19 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 113
+      "__id__": 111
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 115
+        "__id__": 113
       },
       {
-        "__id__": 116
+        "__id__": 114
       },
       {
-        "__id__": 117
+        "__id__": 115
       }
     ],
     "_prefab": null,
@@ -4689,7 +4575,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 114
+      "__id__": 112
     },
     "_enabled": true,
     "__prefab": null,
@@ -4711,7 +4597,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 114
+      "__id__": 112
     },
     "_enabled": true,
     "__prefab": null,
@@ -4750,7 +4636,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 114
+      "__id__": 112
     },
     "_enabled": true,
     "__prefab": null,
@@ -4780,16 +4666,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 113
+      "__id__": 111
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 119
+        "__id__": 117
       },
       {
-        "__id__": 120
+        "__id__": 118
       }
     ],
     "_prefab": null,
@@ -4828,7 +4714,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 118
+      "__id__": 116
     },
     "_enabled": true,
     "__prefab": null,
@@ -4850,7 +4736,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 118
+      "__id__": 116
     },
     "_enabled": true,
     "__prefab": null,
@@ -4889,7 +4775,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 113
+      "__id__": 111
     },
     "_enabled": true,
     "__prefab": null,
@@ -4911,15 +4797,256 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 113
+      "__id__": 111
     },
     "_enabled": true,
     "__prefab": null,
     "sprite": {
-      "__id__": 120
+      "__id__": 118
     },
     "_id": "a8kbceoOlIKKI96rFsOUvL"
   },
+  {
+    "__type__": "cc.Node",
+    "_name": "Guns",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 43
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 122
+      },
+      {
+        "__id__": 123
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 272.299,
+      "y": -626.647,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "75LaJtEbpJQY3GSZh98Diw"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 121
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 139,
+      "height": 165
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "12QJOn6phFTKf4w1q6x4zC"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 121
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "c4025150-2957-4586-a506-75f63dfc31d5@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": "27ORh1BJZCgoGC1Gyu+PHz"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "LbTestShoot",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 43
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 125
+      },
+      {
+        "__id__": 126
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 262.342,
+      "y": 736.2730000000001,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "82Ta3W/m1Mf4WFFehGwcu9"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 124
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 50.4
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "3antjKp1VL67kyIQctkgg2"
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 124
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_string": "",
+    "_horizontalAlign": 1,
+    "_verticalAlign": 1,
+    "_actualFontSize": 40,
+    "_fontSize": 40,
+    "_fontFamily": "Arial",
+    "_lineHeight": 40,
+    "_overflow": 0,
+    "_enableWrapText": true,
+    "_font": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_isItalic": false,
+    "_isBold": false,
+    "_isUnderline": false,
+    "_underlineHeight": 2,
+    "_cacheMode": 0,
+    "_enableOutline": false,
+    "_outlineColor": {
+      "__type__": "cc.Color",
+      "r": 0,
+      "g": 0,
+      "b": 0,
+      "a": 255
+    },
+    "_outlineWidth": 2,
+    "_enableShadow": false,
+    "_shadowColor": {
+      "__type__": "cc.Color",
+      "r": 0,
+      "g": 0,
+      "b": 0,
+      "a": 255
+    },
+    "_shadowOffset": {
+      "__type__": "cc.Vec2",
+      "x": 2,
+      "y": 2
+    },
+    "_shadowBlur": 2,
+    "_id": "970+WwxYdD4qmTdb998BYd"
+  },
   {
     "__type__": "cc.UITransform",
     "_name": "",
@@ -4951,23 +5078,23 @@
       "__id__": 9
     },
     "_children": [
-      {
-        "__id__": 125
-      },
       {
         "__id__": 129
       },
       {
         "__id__": 133
+      },
+      {
+        "__id__": 137
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 139
+        "__id__": 143
       },
       {
-        "__id__": 140
+        "__id__": 144
       }
     ],
     "_prefab": null,
@@ -5006,19 +5133,19 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 124
+      "__id__": 128
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 126
+        "__id__": 130
       },
       {
-        "__id__": 127
+        "__id__": 131
       },
       {
-        "__id__": 128
+        "__id__": 132
       }
     ],
     "_prefab": null,
@@ -5057,7 +5184,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 125
+      "__id__": 129
     },
     "_enabled": true,
     "__prefab": null,
@@ -5079,7 +5206,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 125
+      "__id__": 129
     },
     "_enabled": true,
     "__prefab": null,
@@ -5118,7 +5245,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 125
+      "__id__": 129
     },
     "_enabled": true,
     "__prefab": null,
@@ -5160,7 +5287,7 @@
     "_duration": 0.1,
     "_zoomScale": 1.2,
     "_target": {
-      "__id__": 125
+      "__id__": 129
     },
     "_id": "51Zwo4GTBBT7vNI+1Aij5E"
   },
@@ -5170,19 +5297,19 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 124
+      "__id__": 128
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 130
+        "__id__": 134
       },
       {
-        "__id__": 131
+        "__id__": 135
       },
       {
-        "__id__": 132
+        "__id__": 136
       }
     ],
     "_prefab": null,
@@ -5221,7 +5348,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 129
+      "__id__": 133
     },
     "_enabled": true,
     "__prefab": null,
@@ -5243,7 +5370,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 129
+      "__id__": 133
     },
     "_enabled": true,
     "__prefab": null,
@@ -5282,7 +5409,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 129
+      "__id__": 133
     },
     "_enabled": true,
     "__prefab": null,
@@ -5324,7 +5451,7 @@
     "_duration": 0.1,
     "_zoomScale": 1.2,
     "_target": {
-      "__id__": 129
+      "__id__": 133
     },
     "_id": "ec3qEoJHVABoxGd3CvrvsV"
   },
@@ -5334,20 +5461,20 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 124
+      "__id__": 128
     },
     "_children": [
       {
-        "__id__": 134
+        "__id__": 138
       }
     ],
     "_active": false,
     "_components": [
       {
-        "__id__": 137
+        "__id__": 141
       },
       {
-        "__id__": 138
+        "__id__": 142
       }
     ],
     "_prefab": null,
@@ -5386,16 +5513,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 133
+      "__id__": 137
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 135
+        "__id__": 139
       },
       {
-        "__id__": 136
+        "__id__": 140
       }
     ],
     "_prefab": null,
@@ -5434,7 +5561,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 134
+      "__id__": 138
     },
     "_enabled": true,
     "__prefab": null,
@@ -5456,7 +5583,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 134
+      "__id__": 138
     },
     "_enabled": true,
     "__prefab": null,
@@ -5495,7 +5622,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 133
+      "__id__": 137
     },
     "_enabled": true,
     "__prefab": null,
@@ -5517,7 +5644,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 133
+      "__id__": 137
     },
     "_enabled": true,
     "__prefab": null,
@@ -5556,7 +5683,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 124
+      "__id__": 128
     },
     "_enabled": true,
     "__prefab": null,
@@ -5578,7 +5705,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 124
+      "__id__": 128
     },
     "_enabled": true,
     "__prefab": null,
@@ -5666,7 +5793,7 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 144
+        "__id__": 148
       }
     ],
     "_prefab": null,
@@ -5705,7 +5832,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 143
+      "__id__": 147
     },
     "_enabled": true,
     "__prefab": null,
@@ -5807,28 +5934,28 @@
   {
     "__type__": "cc.SceneGlobals",
     "ambient": {
-      "__id__": 151
+      "__id__": 155
     },
     "shadows": {
-      "__id__": 152
+      "__id__": 156
     },
     "_skybox": {
-      "__id__": 153
+      "__id__": 157
     },
     "fog": {
-      "__id__": 154
+      "__id__": 158
     },
     "octree": {
-      "__id__": 155
+      "__id__": 159
     },
     "skin": {
-      "__id__": 156
+      "__id__": 160
     },
     "lightProbeInfo": {
-      "__id__": 157
+      "__id__": 161
     },
     "postSettings": {
-      "__id__": 158
+      "__id__": 162
     },
     "bakedWithStationaryMainLight": false,
     "bakedWithHighpLightmap": false

+ 2 - 2
profiles/v2/packages/scene.json

@@ -1214,8 +1214,8 @@
     },
     "19323c5d-5d36-438a-86ee-8288c690e5b0": {
       "position": {
-        "x": 74.58333333333333,
-        "y": 158.75,
+        "x": 45.94333333333333,
+        "y": 97.78999999999996,
         "z": 5000
       },
       "rotation": {