Bladeren bron

10 times spin

zane 1 maand geleden
bovenliggende
commit
4fe5c88f88

+ 3 - 0
assets/resources/i18n/en.ts

@@ -27,6 +27,9 @@ Start growing your family now!`,
 Spend {value}Diamond to upgrade family now?`,
     UpgradeFamilySuccess: "Family upgrade successful! Max member count: +10.",
   },
+  Play: {
+    TipsChoose10Times: `Your have more than 10 spins and more than 10 POG Crit, do you want to quick spin 10 times?`,
+  },
   Rank: {
     Season: "SEASON",
     Total: "TOTAL",

+ 274 - 182
assets/resources/prefab/family/InputNameLayer.prefab

@@ -23,25 +23,22 @@
       },
       {
         "__id__": 14
-      },
-      {
-        "__id__": 26
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 86
+        "__id__": 90
       },
       {
-        "__id__": 88
+        "__id__": 92
       },
       {
-        "__id__": 90
+        "__id__": 94
       }
     ],
     "_prefab": {
-      "__id__": 92
+      "__id__": 96
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -329,8 +326,8 @@
   },
   {
     "__type__": "cc.Node",
-    "_name": "title",
-    "_objFlags": 0,
+    "_name": "bg",
+    "_objFlags": 512,
     "__editorExtras__": {},
     "_parent": {
       "__id__": 1
@@ -338,24 +335,150 @@
     "_children": [
       {
         "__id__": 15
+      },
+      {
+        "__id__": 31
+      },
+      {
+        "__id__": 59
+      },
+      {
+        "__id__": 65
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 21
+        "__id__": 77
+      },
+      {
+        "__id__": 79
       },
       {
-        "__id__": 23
+        "__id__": 81
+      },
+      {
+        "__id__": 83
+      },
+      {
+        "__id__": 85
+      },
+      {
+        "__id__": 87
+      }
+    ],
+    "_prefab": {
+      "__id__": 89
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 2.197999999999979,
+      "y": 366.904,
+      "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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "empty",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 14
+    },
+    "_children": [
+      {
+        "__id__": 16
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 28
       }
     ],
     "_prefab": {
-      "__id__": 25
+      "__id__": 30
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 500.0239999999999,
+      "y": 115.9,
+      "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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "title",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 15
+    },
+    "_children": [
+      {
+        "__id__": 17
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 23
+      },
+      {
+        "__id__": 25
+      }
+    ],
+    "_prefab": {
+      "__id__": 27
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -2.197999999999979,
+      "y": 84.03099999999995,
       "z": 0
     },
     "_lrot": {
@@ -387,20 +510,20 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 14
+      "__id__": 16
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 16
+        "__id__": 18
       },
       {
-        "__id__": 18
+        "__id__": 20
       }
     ],
     "_prefab": {
-      "__id__": 20
+      "__id__": 22
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -437,11 +560,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 15
+      "__id__": 17
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 17
+      "__id__": 19
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -465,11 +588,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 15
+      "__id__": 17
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 19
+      "__id__": 21
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -523,11 +646,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 14
+      "__id__": 16
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 22
+      "__id__": 24
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -551,11 +674,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 14
+      "__id__": 16
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 24
+      "__id__": 26
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -627,76 +750,45 @@
     "nestedPrefabInstanceRoots": null
   },
   {
-    "__type__": "cc.Node",
-    "_name": "bg",
-    "_objFlags": 512,
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
     "__editorExtras__": {},
-    "_parent": {
-      "__id__": 1
+    "node": {
+      "__id__": 15
     },
-    "_children": [
-      {
-        "__id__": 27
-      },
-      {
-        "__id__": 55
-      },
-      {
-        "__id__": 61
-      }
-    ],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 73
-      },
-      {
-        "__id__": 75
-      },
-      {
-        "__id__": 77
-      },
-      {
-        "__id__": 79
-      },
-      {
-        "__id__": 81
-      },
-      {
-        "__id__": 83
-      }
-    ],
-    "_prefab": {
-      "__id__": 85
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 29
     },
-    "_lpos": {
-      "__type__": "cc.Vec3",
-      "x": 2.197999999999979,
-      "y": 341.289,
-      "z": 0
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 1,
+      "height": 1
     },
-    "_lrot": {
-      "__type__": "cc.Quat",
-      "x": 0,
-      "y": 0,
-      "z": 0,
-      "w": 1
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
     },
-    "_lscale": {
-      "__type__": "cc.Vec3",
-      "x": 1,
-      "y": 1,
-      "z": 1
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "135QC82lFE3bQ9fkspx2EO"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
     },
-    "_mobility": 0,
-    "_layer": 33554432,
-    "_euler": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
+    "asset": {
+      "__id__": 0
     },
-    "_id": ""
+    "fileId": "09Ut4nwCxCa5nIXJrJFoZ+",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
   },
   {
     "__type__": "cc.Node",
@@ -704,32 +796,32 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 26
+      "__id__": 14
     },
     "_children": [
       {
-        "__id__": 28
+        "__id__": 32
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 48
+        "__id__": 52
       },
       {
-        "__id__": 50
+        "__id__": 54
       },
       {
-        "__id__": 52
+        "__id__": 56
       }
     ],
     "_prefab": {
-      "__id__": 54
+      "__id__": 58
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": -3.4769999999999754,
-      "y": 70.9,
+      "y": 60.400000000000006,
       "z": 0
     },
     "_lrot": {
@@ -761,30 +853,30 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 27
+      "__id__": 31
     },
     "_children": [
       {
-        "__id__": 29
+        "__id__": 33
       },
       {
-        "__id__": 35
+        "__id__": 39
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 41
+        "__id__": 45
       },
       {
-        "__id__": 43
+        "__id__": 47
       },
       {
-        "__id__": 45
+        "__id__": 49
       }
     ],
     "_prefab": {
-      "__id__": 47
+      "__id__": 51
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -821,25 +913,25 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 28
+      "__id__": 32
     },
     "_children": [],
     "_active": false,
     "_components": [
       {
-        "__id__": 30
+        "__id__": 34
       },
       {
-        "__id__": 32
+        "__id__": 36
       }
     ],
     "_prefab": {
-      "__id__": 34
+      "__id__": 38
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": -223,
-      "y": 45,
+      "y": 35,
       "z": 0
     },
     "_lrot": {
@@ -871,16 +963,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 29
+      "__id__": 33
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 31
+      "__id__": 35
     },
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 448,
-      "height": 90
+      "height": 70
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -899,11 +991,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 29
+      "__id__": 33
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 33
+      "__id__": 37
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -980,25 +1072,25 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 28
+      "__id__": 32
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 36
+        "__id__": 40
       },
       {
-        "__id__": 38
+        "__id__": 42
       }
     ],
     "_prefab": {
-      "__id__": 40
+      "__id__": 44
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": -223,
-      "y": 45,
+      "y": 35,
       "z": 0
     },
     "_lrot": {
@@ -1030,16 +1122,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 35
+      "__id__": 39
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 37
+      "__id__": 41
     },
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 448,
-      "height": 90
+      "height": 70
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1058,11 +1150,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 35
+      "__id__": 39
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 39
+      "__id__": 43
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -1139,16 +1231,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 28
+      "__id__": 32
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 42
+      "__id__": 46
     },
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 450,
-      "height": 90
+      "height": 70
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1167,11 +1259,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 28
+      "__id__": 32
     },
     "_enabled": false,
     "__prefab": {
-      "__id__": 44
+      "__id__": 48
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -1212,21 +1304,21 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 28
+      "__id__": 32
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 46
+      "__id__": 50
     },
     "editingDidBegan": [],
     "textChanged": [],
     "editingDidEnded": [],
     "editingReturn": [],
     "_textLabel": {
-      "__id__": 32
+      "__id__": 36
     },
     "_placeholderLabel": {
-      "__id__": 38
+      "__id__": 42
     },
     "_returnType": 0,
     "_string": "",
@@ -1263,16 +1355,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 27
+      "__id__": 31
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 49
+      "__id__": 53
     },
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 500,
-      "height": 90
+      "height": 70
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1291,11 +1383,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 27
+      "__id__": 31
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 51
+      "__id__": 55
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -1336,11 +1428,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 27
+      "__id__": 31
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 53
+      "__id__": 57
     },
     "_resizeMode": 1,
     "_layoutType": 2,
@@ -1387,25 +1479,25 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 26
+      "__id__": 14
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 56
+        "__id__": 60
       },
       {
-        "__id__": 58
+        "__id__": 62
       }
     ],
     "_prefab": {
-      "__id__": 60
+      "__id__": 64
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -13.000000000000014,
+      "y": -13.499999999999993,
       "z": 0
     },
     "_lrot": {
@@ -1437,11 +1529,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 55
+      "__id__": 59
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 57
+      "__id__": 61
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -1465,11 +1557,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 55
+      "__id__": 59
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 59
+      "__id__": 63
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -1546,29 +1638,29 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 26
+      "__id__": 14
     },
     "_children": [
       {
-        "__id__": 62
+        "__id__": 66
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 68
+        "__id__": 72
       },
       {
-        "__id__": 70
+        "__id__": 74
       }
     ],
     "_prefab": {
-      "__id__": 72
+      "__id__": 76
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 4.499000000000024,
-      "y": -83.89999999999999,
+      "y": -84.39999999999999,
       "z": 0
     },
     "_lrot": {
@@ -1600,20 +1692,20 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 61
+      "__id__": 65
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 63
+        "__id__": 67
       },
       {
-        "__id__": 65
+        "__id__": 69
       }
     ],
     "_prefab": {
-      "__id__": 67
+      "__id__": 71
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -1650,11 +1742,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 62
+      "__id__": 66
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 64
+      "__id__": 68
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -1678,11 +1770,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 62
+      "__id__": 66
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 66
+      "__id__": 70
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -1759,11 +1851,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 61
+      "__id__": 65
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 69
+      "__id__": 73
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -1787,11 +1879,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 61
+      "__id__": 65
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 71
+      "__id__": 75
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -1845,16 +1937,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 26
+      "__id__": 14
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 74
+      "__id__": 78
     },
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 586.794,
-      "height": 291.8
+      "height": 292.8
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1873,11 +1965,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 26
+      "__id__": 14
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 76
+      "__id__": 80
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -1918,11 +2010,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 26
+      "__id__": 14
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 78
+      "__id__": 82
     },
     "playOnLoad": true,
     "_clips": [
@@ -1947,11 +2039,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 26
+      "__id__": 14
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 80
+      "__id__": 84
     },
     "_opacity": 255,
     "_id": ""
@@ -1966,11 +2058,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 26
+      "__id__": 14
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 82
+      "__id__": 86
     },
     "_resizeMode": 1,
     "_layoutType": 2,
@@ -2004,17 +2096,17 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 26
+      "__id__": 14
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 84
+      "__id__": 88
     },
     "_alignFlags": 1,
     "_target": null,
     "_left": 0,
     "_right": 0,
-    "_top": 152.811,
+    "_top": 126.696,
     "_bottom": 0,
     "_horizontalCenter": 0,
     "_verticalCenter": 0,
@@ -2057,7 +2149,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 87
+      "__id__": 91
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -2085,7 +2177,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 89
+      "__id__": 93
     },
     "_alignFlags": 45,
     "_target": null,
@@ -2121,7 +2213,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 91
+      "__id__": 95
     },
     "_id": ""
   },

+ 394 - 70
assets/resources/prefab/layer/BindGameInputLayer.prefab

@@ -28,23 +28,23 @@
         "__id__": 20
       },
       {
-        "__id__": 105
+        "__id__": 117
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 114
+        "__id__": 126
       },
       {
-        "__id__": 116
+        "__id__": 128
       },
       {
-        "__id__": 118
+        "__id__": 130
       }
     ],
     "_prefab": {
-      "__id__": 120
+      "__id__": 132
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -485,20 +485,20 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 96
+        "__id__": 108
       },
       {
-        "__id__": 98
+        "__id__": 110
       },
       {
-        "__id__": 100
+        "__id__": 112
       },
       {
-        "__id__": 102
+        "__id__": 114
       }
     ],
     "_prefab": {
-      "__id__": 104
+      "__id__": 116
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -701,23 +701,23 @@
         "__id__": 28
       },
       {
-        "__id__": 74
+        "__id__": 86
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 89
+        "__id__": 101
       },
       {
-        "__id__": 91
+        "__id__": 103
       },
       {
-        "__id__": 93
+        "__id__": 105
       }
     ],
     "_prefab": {
-      "__id__": 95
+      "__id__": 107
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -765,22 +765,28 @@
       },
       {
         "__id__": 61
+      },
+      {
+        "__id__": 67
+      },
+      {
+        "__id__": 73
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 67
+        "__id__": 79
       },
       {
-        "__id__": 69
+        "__id__": 81
       },
       {
-        "__id__": 71
+        "__id__": 83
       }
     ],
     "_prefab": {
-      "__id__": 73
+      "__id__": 85
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -1338,7 +1344,7 @@
     "_placeholderLabel": {
       "__id__": 40
     },
-    "_returnType": 0,
+    "_returnType": 1,
     "_string": "",
     "_tabIndex": 0,
     "_backgroundImage": {
@@ -1771,6 +1777,324 @@
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
   },
+  {
+    "__type__": "cc.Node",
+    "_name": "lbl_code_string",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 28
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 68
+      },
+      {
+        "__id__": 70
+      }
+    ],
+    "_prefab": {
+      "__id__": 72
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -201.90200000000002,
+      "y": -247.89400000000012,
+      "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": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 67
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 69
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 7.326171875,
+      "height": 27.72
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "daDJCGFHFDapHyW6bEaVmE"
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 67
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 71
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 180,
+      "g": 180,
+      "b": 180,
+      "a": 255
+    },
+    "_string": "-",
+    "_horizontalAlign": 0,
+    "_verticalAlign": 1,
+    "_actualFontSize": 22,
+    "_fontSize": 22,
+    "_fontFamily": "Arial",
+    "_lineHeight": 22,
+    "_overflow": 0,
+    "_enableWrapText": true,
+    "_font": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_isItalic": false,
+    "_isBold": true,
+    "_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": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "ccBG1+3ahGPYH6JYuTueKu"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "d4HpcOXBhG1KbAsnZWx+PS",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "ttt",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 28
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 74
+      },
+      {
+        "__id__": 76
+      }
+    ],
+    "_prefab": {
+      "__id__": 78
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -276.471,
+      "y": -247.89400000000012,
+      "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": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 73
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 75
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 74.55078125,
+      "height": 27.72
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "d1UE3LFv5Il7jcxgGHbJi6"
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 73
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 77
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 180,
+      "g": 180,
+      "b": 180,
+      "a": 255
+    },
+    "_string": "Code : ",
+    "_horizontalAlign": 0,
+    "_verticalAlign": 1,
+    "_actualFontSize": 22,
+    "_fontSize": 22,
+    "_fontFamily": "Arial",
+    "_lineHeight": 22,
+    "_overflow": 0,
+    "_enableWrapText": true,
+    "_font": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_isItalic": false,
+    "_isBold": true,
+    "_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": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "63EiQbvY9KtqwnKrYKI1De"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "65fSVZAMhH24IlsQuHfp38",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
   {
     "__type__": "cc.UITransform",
     "_name": "",
@@ -1781,12 +2105,12 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 68
+      "__id__": 80
     },
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 652.9,
-      "height": 260.686
+      "height": 280
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1809,7 +2133,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 70
+      "__id__": 82
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -1854,7 +2178,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 72
+      "__id__": 84
     },
     "_id": ""
   },
@@ -1882,14 +2206,14 @@
       "__id__": 27
     },
     "_prefab": {
-      "__id__": 75
+      "__id__": 87
     },
     "__editorExtras__": {}
   },
   {
     "__type__": "cc.PrefabInfo",
     "root": {
-      "__id__": 74
+      "__id__": 86
     },
     "asset": {
       "__uuid__": "c2e7166b-e33c-4a11-97b0-02d29cea7171",
@@ -1897,7 +2221,7 @@
     },
     "fileId": "f8jfPMKd1FBpemtSH8LaoC",
     "instance": {
-      "__id__": 76
+      "__id__": 88
     },
     "targetOverrides": null
   },
@@ -1911,28 +2235,28 @@
     "mountedComponents": [],
     "propertyOverrides": [
       {
-        "__id__": 77
+        "__id__": 89
       },
       {
-        "__id__": 79
+        "__id__": 91
       },
       {
-        "__id__": 80
+        "__id__": 92
       },
       {
-        "__id__": 81
+        "__id__": 93
       },
       {
-        "__id__": 82
+        "__id__": 94
       },
       {
-        "__id__": 84
+        "__id__": 96
       },
       {
-        "__id__": 86
+        "__id__": 98
       },
       {
-        "__id__": 88
+        "__id__": 100
       }
     ],
     "removedComponents": []
@@ -1940,7 +2264,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 78
+      "__id__": 90
     },
     "propertyPath": [
       "_name"
@@ -1956,7 +2280,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 78
+      "__id__": 90
     },
     "propertyPath": [
       "_lpos"
@@ -1964,14 +2288,14 @@
     "value": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -310.686,
+      "y": -330,
       "z": 0
     }
   },
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 78
+      "__id__": 90
     },
     "propertyPath": [
       "_lrot"
@@ -1987,7 +2311,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 78
+      "__id__": 90
     },
     "propertyPath": [
       "_euler"
@@ -2002,7 +2326,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 83
+      "__id__": 95
     },
     "propertyPath": [
       "_contentSize"
@@ -2022,7 +2346,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 85
+      "__id__": 97
     },
     "propertyPath": [
       "_string"
@@ -2038,7 +2362,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 87
+      "__id__": 99
     },
     "propertyPath": [
       "_contentSize"
@@ -2058,7 +2382,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 85
+      "__id__": 97
     },
     "propertyPath": [
       "_overflow"
@@ -2075,12 +2399,12 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 90
+      "__id__": 102
     },
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 650,
-      "height": 350.686
+      "height": 370
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -2103,7 +2427,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 92
+      "__id__": 104
     },
     "_resizeMode": 1,
     "_layoutType": 2,
@@ -2141,7 +2465,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 94
+      "__id__": 106
     },
     "_alignFlags": 41,
     "_target": null,
@@ -2190,7 +2514,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 97
+      "__id__": 109
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -2218,7 +2542,7 @@
     },
     "_enabled": false,
     "__prefab": {
-      "__id__": 99
+      "__id__": 111
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -2263,7 +2587,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 101
+      "__id__": 113
     },
     "playOnLoad": true,
     "_clips": [
@@ -2292,7 +2616,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 103
+      "__id__": 115
     },
     "_resizeMode": 0,
     "_layoutType": 2,
@@ -2340,14 +2664,14 @@
       "__id__": 1
     },
     "_prefab": {
-      "__id__": 106
+      "__id__": 118
     },
     "__editorExtras__": {}
   },
   {
     "__type__": "cc.PrefabInfo",
     "root": {
-      "__id__": 105
+      "__id__": 117
     },
     "asset": {
       "__uuid__": "0c78a08a-69a1-4ce4-a8f1-b75767410906",
@@ -2355,7 +2679,7 @@
     },
     "fileId": "45I+1vKipFEI9dort+hxeT",
     "instance": {
-      "__id__": 107
+      "__id__": 119
     },
     "targetOverrides": null
   },
@@ -2369,19 +2693,19 @@
     "mountedComponents": [],
     "propertyOverrides": [
       {
-        "__id__": 108
+        "__id__": 120
       },
       {
-        "__id__": 110
+        "__id__": 122
       },
       {
-        "__id__": 111
+        "__id__": 123
       },
       {
-        "__id__": 112
+        "__id__": 124
       },
       {
-        "__id__": 113
+        "__id__": 125
       }
     ],
     "removedComponents": []
@@ -2389,7 +2713,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 109
+      "__id__": 121
     },
     "propertyPath": [
       "_name"
@@ -2405,7 +2729,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 109
+      "__id__": 121
     },
     "propertyPath": [
       "_lpos"
@@ -2420,7 +2744,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 109
+      "__id__": 121
     },
     "propertyPath": [
       "_lrot"
@@ -2436,7 +2760,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 109
+      "__id__": 121
     },
     "propertyPath": [
       "_euler"
@@ -2451,7 +2775,7 @@
   {
     "__type__": "CCPropertyOverrideInfo",
     "targetInfo": {
-      "__id__": 109
+      "__id__": 121
     },
     "propertyPath": [
       "_active"
@@ -2468,7 +2792,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 115
+      "__id__": 127
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -2496,7 +2820,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 117
+      "__id__": 129
     },
     "_alignFlags": 45,
     "_target": null,
@@ -2532,7 +2856,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 119
+      "__id__": 131
     },
     "edit_code": {
       "__id__": 47
@@ -2556,10 +2880,10 @@
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": [
       {
-        "__id__": 105
+        "__id__": 117
       },
       {
-        "__id__": 74
+        "__id__": 86
       }
     ]
   }

+ 17 - 2
assets/resources/prefab/layer/BindGameInputLayer.ts

@@ -3,6 +3,7 @@ import BaseUI from "../../scripts/base/BaseUI";
 import { Hall } from "../hall/Hall";
 import { EditBox } from "cc";
 import { Tips } from "../../scripts/mgr/Tips";
+import { EventKeyboard } from "cc";
 const { ccclass, property } = _decorator;
 
 export interface BindGameInputLayerListener {
@@ -29,13 +30,27 @@ export class BindGameInputLayer extends BaseUI {
     this.gameId = gameId;
 
     this.listener = listener;
+
+    this.FindNode("edit_code").on(
+      EditBox.EventType.TEXT_CHANGED,
+      this.onTextChanged,
+      this
+    );
+  }
+  private _prepareString: string = "";
+  onTextChanged(event: EventKeyboard) {
+    let inputString = this.edit_code.string;
+    inputString = inputString.trim();
+    inputString = inputString.replace("\n", "");
+    this._prepareString = inputString;
+
+    this.setText("lbl_code_string", this._prepareString);
   }
 
   protected simpleOnBtnClick(name: string): void {
     switch (name) {
       case "btn_bind":
-        let inputString = this.edit_code.string;
-        inputString = inputString.trim();
+        let inputString = this._prepareString;
         if (inputString.length == 0) {
           Tips.show("Please input code");
           return;

+ 81 - 10
assets/resources/prefab/layer/GameDetailLayer.ts

@@ -9,14 +9,22 @@ import BaseUI from "../../scripts/base/BaseUI";
 import UIUtils from "../../scripts/base/UIUtils";
 import { Hall } from "../hall/Hall";
 import { WheelDialog } from "../play/WheelDialog";
-import { GameInfo, GameTaskInfo } from "../../scripts/api/UserM";
+import UserM, {
+  GameInfo,
+  GameTaskInfo,
+  GoodInfo,
+} from "../../scripts/api/UserM";
 import Utils from "../../scripts/utils/Utils";
 import ConfigM, { ConfigGame } from "../../scripts/api/ConfigM";
 import AB from "../../scripts/base/AB";
-import GameM from "../../scripts/api/GameM";
+import GameM, { GameSpinResult } from "../../scripts/api/GameM";
 import { GameTaskItem, GameTaskItemCallback } from "../play/GameTaskItem";
 import TgM from "../../scripts/mgr/TgM";
 import { Tips } from "../../scripts/mgr/Tips";
+import { TipsData, TipsLayer } from "./TipsLayer";
+import { GoodsId } from "../../scripts/api/GoodsId";
+import ItemsM from "../../scripts/mgr/ItemsM";
+import { RewardLayer } from "./RewardLayer";
 const { ccclass, property } = _decorator;
 
 @ccclass("GameDetailLayer")
@@ -132,14 +140,7 @@ export class GameDetailLayer extends BaseUI implements GameTaskItemCallback {
     let c = ConfigM.ins.getGame(this.data.gameId);
     switch (name) {
       case "btn_start_spin":
-        if (this.data.currentSpin <= 0) {
-          return;
-        }
-
-        WheelDialog.show(this.data.gameId);
-
-        this.data.currentSpin--;
-        this.refreshSpinTimes();
+        this.startSpin();
         break;
 
       case "btn_start_game_web":
@@ -156,6 +157,76 @@ export class GameDetailLayer extends BaseUI implements GameTaskItemCallback {
         break;
     }
   }
+  async choose10times() {
+    return new Promise((resolve) => {
+      let tips = Utils.setI18nLabel("Play.TipsChoose10Times");
+
+      let d = new TipsData(tips);
+      d.onCancel = () => {
+        resolve(false);
+      };
+      d.onConfirm = () => {
+        resolve(true);
+      };
+      d.forceConfirm = false;
+      d.show();
+    });
+  }
+
+  async startSpin() {
+    if (this.data.currentSpin <= 0) {
+      return;
+    }
+
+    if (this.data.currentSpin >= 10) {
+      let ok = await this.choose10times();
+      if (ok) {
+        this.spin10times();
+        return;
+      }
+    }
+
+    WheelDialog.show(this.data.gameId);
+
+    this.data.currentSpin--;
+    this.refreshSpinTimes();
+  }
+  async spin10times() {
+    let onceTimes = 10;
+
+    this.data.currentSpin -= onceTimes;
+    this.refreshSpinTimes();
+
+    let rewards = [];
+    for (let index = 0; index < onceTimes; index++) {
+      let spinResult: GameSpinResult = await GameM.ins.gameSpin(
+        this.data.gameId
+      );
+      if (!spinResult) {
+        continue;
+      }
+      let pog = spinResult.totalPog;
+
+      let critResult = await GameM.ins.getCritReward(
+        this.data.gameId,
+        spinResult.spinId
+      );
+      if (!critResult) {
+        continue;
+      }
+
+      pog += critResult.critPog;
+      let g = new GoodInfo();
+      g.count = pog;
+      g.id = GoodsId.POG;
+
+      rewards.push(g);
+    }
+
+    RewardLayer.show(rewards);
+
+    await UserM.ins.refreshInfo();
+  }
 
   refreshSpinTimes() {
     this.setText("lbl_game_spin_times", "x" + this.data.currentSpin + "");

+ 3 - 3
assets/resources/prefab/play/LinkGameConfirmLayer.prefab

@@ -870,7 +870,7 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -53.64099999999996,
+      "x": -89.609,
       "y": 0,
       "z": 0
     },
@@ -916,7 +916,7 @@
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
-      "x": 0.5,
+      "x": 0,
       "y": 0.5
     },
     "_id": ""
@@ -948,7 +948,7 @@
       "a": 255
     },
     "_string": "label",
-    "_horizontalAlign": 1,
+    "_horizontalAlign": 0,
     "_verticalAlign": 1,
     "_actualFontSize": 40,
     "_fontSize": 40,

BIN
assets/resources/texture/family/page_help_family_box.png


BIN
assets/resources/texture/play/toggleIcon1.png


+ 134 - 0
assets/resources/texture/play/toggleIcon1.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "805007f5-232e-4bdd-b2aa-c30ebfa86212",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "805007f5-232e-4bdd-b2aa-c30ebfa86212@6c48a",
+      "displayName": "toggleIcon1",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "805007f5-232e-4bdd-b2aa-c30ebfa86212",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "805007f5-232e-4bdd-b2aa-c30ebfa86212@f9941",
+      "displayName": "toggleIcon1",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 56,
+        "height": 56,
+        "rawWidth": 56,
+        "rawHeight": 56,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -28,
+            -28,
+            0,
+            28,
+            -28,
+            0,
+            -28,
+            28,
+            0,
+            28,
+            28,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            56,
+            56,
+            56,
+            0,
+            0,
+            56,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -28,
+            -28,
+            0
+          ],
+          "maxPos": [
+            28,
+            28,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "805007f5-232e-4bdd-b2aa-c30ebfa86212@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "805007f5-232e-4bdd-b2aa-c30ebfa86212@6c48a"
+  }
+}

BIN
assets/resources/texture/play/toggleIcon2.png


+ 134 - 0
assets/resources/texture/play/toggleIcon2.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "98ececcb-5b73-473d-87c2-0b7dbd9db38d",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "98ececcb-5b73-473d-87c2-0b7dbd9db38d@6c48a",
+      "displayName": "toggleIcon2",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0,
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "98ececcb-5b73-473d-87c2-0b7dbd9db38d",
+        "visible": false
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "98ececcb-5b73-473d-87c2-0b7dbd9db38d@f9941",
+      "displayName": "toggleIcon2",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 72,
+        "height": 51,
+        "rawWidth": 72,
+        "rawHeight": 51,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -36,
+            -25.5,
+            0,
+            36,
+            -25.5,
+            0,
+            -36,
+            25.5,
+            0,
+            36,
+            25.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            51,
+            72,
+            51,
+            0,
+            0,
+            72,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -36,
+            -25.5,
+            0
+          ],
+          "maxPos": [
+            36,
+            25.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "98ececcb-5b73-473d-87c2-0b7dbd9db38d@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "hasAlpha": true,
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "98ececcb-5b73-473d-87c2-0b7dbd9db38d@6c48a"
+  }
+}