薛鸿潇 5 лет назад
Родитель
Сommit
69f5d4767c
2 измененных файлов с 149 добавлено и 14 удалено
  1. 149 13
      assets/resources/game/prefab/game.prefab
  2. 0 1
      assets/script/game/game/FunBtns.ts

+ 149 - 13
assets/resources/game/prefab/game.prefab

@@ -30,11 +30,11 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 33
+        "__id__": 38
       }
     ],
     "_prefab": {
-      "__id__": 34
+      "__id__": 39
     },
     "_opacity": 255,
     "_color": {
@@ -276,11 +276,11 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 31
+        "__id__": 36
       }
     ],
     "_prefab": {
-      "__id__": 32
+      "__id__": 37
     },
     "_opacity": 255,
     "_color": {
@@ -348,19 +348,22 @@
       },
       {
         "__id__": 23
+      },
+      {
+        "__id__": 28
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 28
+        "__id__": 33
       },
       {
-        "__id__": 29
+        "__id__": 34
       }
     ],
     "_prefab": {
-      "__id__": 30
+      "__id__": 35
     },
     "_opacity": 255,
     "_color": {
@@ -373,7 +376,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 120,
-      "height": 376
+      "height": 475
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -452,7 +455,7 @@
       "ctor": "Float64Array",
       "array": [
         0,
-        148.5,
+        198,
         0,
         0,
         0,
@@ -575,7 +578,7 @@
       "ctor": "Float64Array",
       "array": [
         0,
-        49.5,
+        99,
         0,
         0,
         0,
@@ -708,7 +711,7 @@
       "ctor": "Float64Array",
       "array": [
         0,
-        -49.5,
+        0,
         0,
         0,
         0,
@@ -841,7 +844,7 @@
       "ctor": "Float64Array",
       "array": [
         0,
-        -148.5,
+        -99,
         0,
         0,
         0,
@@ -932,6 +935,139 @@
     "sync": false
   },
   {
+    "__type__": "cc.Node",
+    "_name": "btn5",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 8
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 29
+      },
+      {
+        "__id__": 30
+      }
+    ],
+    "_prefab": {
+      "__id__": 32
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 80,
+      "height": 79
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -198,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 28
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "c53d92da-02b7-4ea1-9d09-e0c26277ea0a"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "b8d2cnq+GZLFK30xbLDqr/m",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 28
+    },
+    "_enabled": true,
+    "panel_name": "module/redBagCash/redBagCash",
+    "open_type": 0,
+    "onComplete": {
+      "__id__": 31
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.ClickEvent",
+    "target": null,
+    "component": "",
+    "_componentId": "",
+    "handler": "",
+    "customEventData": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "b4dea4a9-29c8-46bc-a50d-5754afa7a2bd"
+    },
+    "fileId": "11Ye9m8AxJ8JoxEMlLgYBj",
+    "sync": false
+  },
+  {
     "__type__": "cc.Layout",
     "_name": "",
     "_objFlags": 0,
@@ -942,7 +1078,7 @@
     "_layoutSize": {
       "__type__": "cc.Size",
       "width": 120,
-      "height": 376
+      "height": 475
     },
     "_resize": 1,
     "_N$layoutType": 2,

+ 0 - 1
assets/script/game/game/FunBtns.ts

@@ -1,4 +1,3 @@
-import BtnOpenPanel from "../../component/BtnOpenPanel";
 
 const { ccclass, property } = cc._decorator;