Kaynağa Gözat

杯子预制体调整

PS2022SPZEUPMN\Admin 3 ay önce
ebeveyn
işleme
3ae8fb5b4e

+ 10 - 10
assets/module_take_goblet/Prefabs/Cup/Original/OriginalFour.prefab

@@ -58,9 +58,9 @@
     },
     "_lscale": {
       "__type__": "cc.Vec3",
-      "x": 1,
-      "y": 1,
-      "z": 1
+      "x": 0.8,
+      "y": 0.8,
+      "z": 0.8
     },
     "_mobility": 0,
     "_layer": 33554432,
@@ -106,7 +106,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 52,
-      "y": 98,
+      "y": 131.113,
       "z": 0
     },
     "_lrot": {
@@ -835,7 +835,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 36.967,
+      "y": 70.079,
       "z": 0
     },
     "_lrot": {
@@ -1562,7 +1562,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 0,
+      "y": 33.113,
       "z": 0
     },
     "_lrot": {
@@ -1925,7 +1925,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 0,
+      "y": 33.113,
       "z": 0
     },
     "_lrot": {
@@ -2052,12 +2052,12 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 100,
-      "height": 200
+      "height": 250
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
       "x": 0.5,
-      "y": 0.5
+      "y": 0.35
     },
     "_id": ""
   },
@@ -2106,6 +2106,6 @@
     },
     "fileId": "c46/YsCPVOJYA4mWEpNYRx",
     "instance": null,
-    "targetOverrides": []
+    "targetOverrides": null
   }
 ]

+ 5 - 5
assets/module_take_goblet/Prefabs/Cup/Original/OriginalThree.prefab

@@ -58,9 +58,9 @@
     },
     "_lscale": {
       "__type__": "cc.Vec3",
-      "x": 1,
-      "y": 1,
-      "z": 1
+      "x": 0.8,
+      "y": 0.8,
+      "z": 0.8
     },
     "_mobility": 0,
     "_layer": 33554432,
@@ -1731,12 +1731,12 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 100,
-      "height": 200
+      "height": 220
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
       "x": 0.5,
-      "y": 0.5
+      "y": 0.4
     },
     "_id": ""
   },

+ 8 - 8
assets/module_take_goblet/Prefabs/Cup/Original/OriginalTwo.prefab

@@ -58,9 +58,9 @@
     },
     "_lscale": {
       "__type__": "cc.Vec3",
-      "x": 1,
-      "y": 1,
-      "z": 1
+      "x": 0.8,
+      "y": 0.8,
+      "z": 0.8
     },
     "_mobility": 0,
     "_layer": 33554432,
@@ -100,7 +100,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 52,
-      "y": 69.568,
+      "y": 56.56,
       "z": 0
     },
     "_lrot": {
@@ -509,7 +509,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 9.783,
+      "y": -3.225,
       "z": 0
     },
     "_lrot": {
@@ -920,7 +920,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 0,
+      "y": -13.009,
       "z": 0
     },
     "_lrot": {
@@ -1283,7 +1283,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -28.432,
+      "y": -41.44,
       "z": 0
     },
     "_lrot": {
@@ -1410,7 +1410,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 100,
-      "height": 200
+      "height": 176.7
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 1 - 0
assets/module_take_goblet/Script/LevelAction.ts

@@ -105,6 +105,7 @@ export class LevelAction extends Component {
         const rule = instance.cocktailCupRule();
         const [x, y] = rule;
         const colorPool = levelColors.slice(0, y);
+        console.log(`colorPool:`,colorPool)
 
         // 为所有杯子分配颜色,并控制颜色种类不超过y种
         allCups.forEach(cup => {

BIN
excel/levels_config.xlsx