baowen 3 settimane fa
parent
commit
669125fe3c

+ 1 - 3
assets/editor/prefab/SuperFindPanel.prefab

@@ -12093,7 +12093,7 @@
       "__id__": 488
     },
     "_children": [],
-    "_active": true,
+    "_active": false,
     "_components": [
       {
         "__id__": 490
@@ -12601,8 +12601,6 @@
       "__id__": 0
     },
     "fileId": "faNMLo275PtIW31MZ/ngfL",
-    "instance": null,
-    "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
   },
   {

+ 1 - 1
assets/editor/script/LevelContainer.ts

@@ -105,7 +105,7 @@ export class LevelContainer extends Component {
         // 生成物品
         for (let i = 0; i < itemcnt; i++) {
             // 随机选择一个物品
-            randomIndex = Skin.skinData.singleSelect == "true"?randomIndex: randomRangeInt(0, itemSpinePaths.length);
+            randomIndex = Skin.skinData.singleSelect == "true" && Skin.skinData.selectedSkinList.length > 0?randomIndex: randomRangeInt(0, itemSpinePaths.length);
             this.createItem(itemSpinePaths[randomIndex], Difficulty.difficutyData.scales[i]);      
           }
     }

+ 12 - 10
assets/hall/prefab/page_start.prefab

@@ -736,7 +736,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -380,
+      "y": -308.554,
       "z": 0
     },
     "_lrot": {
@@ -776,8 +776,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 338,
-      "height": 128
+      "width": 300,
+      "height": 113
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -818,7 +818,7 @@
     },
     "_type": 0,
     "_fillType": 0,
-    "_sizeMode": 1,
+    "_sizeMode": 0,
     "_fillCenter": {
       "__type__": "cc.Vec2",
       "x": 0,
@@ -852,7 +852,7 @@
     "_left": 0,
     "_right": 0,
     "_top": 0,
-    "_bottom": 196,
+    "_bottom": 274.946,
     "_horizontalCenter": 0,
     "_verticalCenter": 0,
     "_isAbsLeft": true,
@@ -924,7 +924,9 @@
     "_disabledSprite": null,
     "_duration": 0.1,
     "_zoomScale": 1.2,
-    "_target": null,
+    "_target": {
+      "__id__": 28
+    },
     "_id": ""
   },
   {
@@ -984,7 +986,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0.505,
-      "y": -482.055,
+      "y": -434.017,
       "z": 0
     },
     "_lrot": {
@@ -1024,8 +1026,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 100,
-      "height": 40
+      "width": 300,
+      "height": 113
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1172,7 +1174,7 @@
     "_left": 0,
     "_right": 0,
     "_top": 0,
-    "_bottom": 137.945,
+    "_bottom": 149.483,
     "_horizontalCenter": 0,
     "_verticalCenter": 0,
     "_isAbsLeft": true,