From 1683ec01a072deeadc66286425d15f84d93605ea Mon Sep 17 00:00:00 2001 From: "DESKTOP-5RP3AKU\\Jisol" <2858626794@qq.com> Date: Thu, 16 Nov 2023 02:44:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A0=E7=89=A9=E4=B8=8A=E9=98=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../prefab/ui/主页/聊天/MainChatView.prefab | 377 +++- .../resources/prefab/ui/常用预制体/宠物.meta | 9 + .../prefab/ui/常用预制体/宠物/宠物ICON.prefab | 542 +++++ .../ui/常用预制体/宠物/宠物ICON.prefab.meta | 13 + .../prefab/ui/常用预制体/阵法/阵法.prefab | 23 +- .../prefab/ui/常用预制体/阵法/阵法节点.prefab | 188 +- .../ui/系统页面/{Tips.meta => 提示.meta} | 0 .../系统页面/{Tips => 提示}/TipsView.prefab | 0 .../{Tips => 提示}/TipsView.prefab.meta | 0 .../prefab/ui/系统页面/选择提示.meta | 9 + .../ui/系统页面/选择提示/SelectionBox.prefab | 1949 +++++++++++++++++ .../选择提示/SelectionBox.prefab.meta | 13 + .../prefab/ui/阵法/IntoBattleView.prefab | 1845 +++++++++++++++- .../assets/script/data/PlayerPetData.ts | 7 +- .../assets/script/data/PlayerTacticalData.ts | 30 +- .../assets/script/ui/Consts/Pet.meta | 9 + .../script/ui/Consts/Pet/PetIconItem.ts | 42 + .../script/ui/Consts/Pet/PetIconItem.ts.meta | 9 + .../ui/Consts/Tactical/PlayerTacticalItem.ts | 69 +- .../ui/Consts/Tactical/PlayerTacticalView.ts | 46 +- .../assets/script/ui/System/SelectionBox.meta | 9 + .../ui/System/SelectionBox/SelectionBox.ts | 93 + .../System/SelectionBox/SelectionBox.ts.meta | 9 + .../script/ui/Tactical/IntoBattleView.ts | 100 + JisolGameCocos/assets/script/ui/UIConfig.ts | 19 +- JisolGameCocos/extensions/ngame | 2 +- .../game/GPlayerTacticalController.java | 2 +- 27 files changed, 5227 insertions(+), 187 deletions(-) create mode 100644 JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物.meta create mode 100644 JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物/宠物ICON.prefab create mode 100644 JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物/宠物ICON.prefab.meta rename JisolGameCocos/assets/resources/prefab/ui/系统页面/{Tips.meta => 提示.meta} (100%) rename JisolGameCocos/assets/resources/prefab/ui/系统页面/{Tips => 提示}/TipsView.prefab (100%) rename JisolGameCocos/assets/resources/prefab/ui/系统页面/{Tips => 提示}/TipsView.prefab.meta (100%) create mode 100644 JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示.meta create mode 100644 JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示/SelectionBox.prefab create mode 100644 JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示/SelectionBox.prefab.meta create mode 100644 JisolGameCocos/assets/script/ui/Consts/Pet.meta create mode 100644 JisolGameCocos/assets/script/ui/Consts/Pet/PetIconItem.ts create mode 100644 JisolGameCocos/assets/script/ui/Consts/Pet/PetIconItem.ts.meta create mode 100644 JisolGameCocos/assets/script/ui/System/SelectionBox.meta create mode 100644 JisolGameCocos/assets/script/ui/System/SelectionBox/SelectionBox.ts create mode 100644 JisolGameCocos/assets/script/ui/System/SelectionBox/SelectionBox.ts.meta diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatView.prefab b/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatView.prefab index c5d7c566..aa26cea8 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatView.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatView.prefab @@ -25,17 +25,17 @@ "_active": true, "_components": [ { - "__id__": 137 + "__id__": 147 }, { - "__id__": 139 + "__id__": 149 }, { - "__id__": 141 + "__id__": 151 } ], "_prefab": { - "__id__": 143 + "__id__": 153 }, "_lpos": { "__type__": "cc.Vec3", @@ -79,23 +79,23 @@ "__id__": 3 }, { - "__id__": 81 + "__id__": 91 } ], "_active": true, "_components": [ { - "__id__": 130 + "__id__": 140 }, { - "__id__": 132 + "__id__": 142 }, { - "__id__": 134 + "__id__": 144 } ], "_prefab": { - "__id__": 136 + "__id__": 146 }, "_lpos": { "__type__": "cc.Vec3", @@ -142,14 +142,14 @@ "_active": true, "_components": [ { - "__id__": 76 + "__id__": 86 }, { - "__id__": 78 + "__id__": 88 } ], "_prefab": { - "__id__": 80 + "__id__": 90 }, "_lpos": { "__type__": "cc.Vec3", @@ -199,23 +199,23 @@ "_active": true, "_components": [ { - "__id__": 67 + "__id__": 77 }, { - "__id__": 69 + "__id__": 79 }, { "__id__": 20 }, { - "__id__": 71 + "__id__": 81 }, { - "__id__": 73 + "__id__": 83 } ], "_prefab": { - "__id__": 75 + "__id__": 85 }, "_lpos": { "__type__": "cc.Vec3", @@ -275,7 +275,7 @@ } ], "_prefab": { - "__id__": 66 + "__id__": 76 }, "_lpos": { "__type__": "cc.Vec3", @@ -628,24 +628,27 @@ }, { "__id__": 51 + }, + { + "__id__": 61 } ], "_active": true, "_components": [ { - "__id__": 61 + "__id__": 71 }, { - "__id__": 63 + "__id__": 73 } ], "_prefab": { - "__id__": 65 + "__id__": 75 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -390, + "y": -389.442, "z": 0 }, "_lrot": { @@ -904,7 +907,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "88VLo/6FxGso1Xk2TLIXCi", + "fileId": "8eTuYnSCxCr56XNF4GpS6i", "prefabRootNode": { "__id__": 1 }, @@ -953,7 +956,7 @@ "value": { "__type__": "cc.Vec3", "x": 0, - "y": 100.79999999999998, + "y": 151.2, "z": 0 } }, @@ -1016,7 +1019,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "b2m3yUp99HMqmUHFd9+in0", + "fileId": "1fY2+C9iBKNJ2LaUt68EGJ", "prefabRootNode": { "__id__": 1 }, @@ -1068,7 +1071,7 @@ "value": { "__type__": "cc.Vec3", "x": 0, - "y": 50.399999999999984, + "y": 100.79999999999998, "z": 0 } }, @@ -1111,7 +1114,7 @@ "propertyPath": [ "_string" ], - "value": "ScrollView content02" + "value": "ScrollView content011" }, { "__type__": "cc.TargetInfo", @@ -1147,7 +1150,7 @@ }, { "__type__": "cc.PrefabInstance", - "fileId": "c1q9+5/s5Erplsdy7A2eT0", + "fileId": "88HpHhoQ9Ii71ZbV+uGFUI", "prefabRootNode": { "__id__": 1 }, @@ -1199,7 +1202,7 @@ "value": { "__type__": "cc.Vec3", "x": 0, - "y": -1.4210854715202004e-14, + "y": 50.399999999999984, "z": 0 } }, @@ -1242,7 +1245,138 @@ "propertyPath": [ "_string" ], - "value": "ScrollView content03" + "value": "ScrollView content011" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7ahEvd3z5N4ruHsPPLIdmV" + ] + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 22 + }, + "_prefab": { + "__id__": 62 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 61 + }, + "asset": { + "__uuid__": "da561b68-57fb-462b-b799-da2ba6658534", + "__expectedType__": "cc.Prefab" + }, + "fileId": "b4aPDEneNHC4OYnY3k7ypP", + "instance": { + "__id__": 63 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "aaTm0EZxBOhZRXlrwNOuyK", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 64 + }, + { + "__id__": 66 + }, + { + "__id__": 67 + }, + { + "__id__": 68 + }, + { + "__id__": 69 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 65 + }, + "propertyPath": [ + "_name" + ], + "value": "MainChatItem-003" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "b4aPDEneNHC4OYnY3k7ypP" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 65 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": -1.4210854715202004e-14, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 65 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 65 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 70 + }, + "propertyPath": [ + "_string" + ], + "value": "ScrollView content011" }, { "__type__": "cc.TargetInfo", @@ -1260,12 +1394,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 62 + "__id__": 72 }, "_contentSize": { "__type__": "cc.Size", "width": 720, - "height": 151.2 + "height": 201.6 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1288,7 +1422,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 64 + "__id__": 74 }, "_resizeMode": 1, "_layoutType": 2, @@ -1352,7 +1486,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 68 + "__id__": 78 }, "_contentSize": { "__type__": "cc.Size", @@ -1380,7 +1514,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 70 + "__id__": 80 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1425,7 +1559,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 72 + "__id__": 82 }, "_alignFlags": 45, "_target": null, @@ -1461,7 +1595,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 74 + "__id__": 84 }, "view": { "__id__": 24 @@ -1498,7 +1632,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 77 + "__id__": 87 }, "_contentSize": { "__type__": "cc.Size", @@ -1526,7 +1660,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 79 + "__id__": 89 }, "_alignFlags": 45, "_target": null, @@ -1575,26 +1709,26 @@ }, "_children": [ { - "__id__": 82 + "__id__": 92 }, { - "__id__": 104 + "__id__": 114 } ], "_active": true, "_components": [ { - "__id__": 123 + "__id__": 133 }, { - "__id__": 125 + "__id__": 135 }, { - "__id__": 127 + "__id__": 137 } ], "_prefab": { - "__id__": 129 + "__id__": 139 }, "_lpos": { "__type__": "cc.Vec3", @@ -1631,33 +1765,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 81 + "__id__": 91 }, "_children": [ { - "__id__": 83 + "__id__": 93 }, { - "__id__": 89 + "__id__": 99 } ], "_active": true, "_components": [ { - "__id__": 95 + "__id__": 105 }, { - "__id__": 97 + "__id__": 107 }, { - "__id__": 99 + "__id__": 109 }, { - "__id__": 101 + "__id__": 111 } ], "_prefab": { - "__id__": 103 + "__id__": 113 }, "_lpos": { "__type__": "cc.Vec3", @@ -1694,20 +1828,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 82 + "__id__": 92 }, "_children": [], "_active": false, "_components": [ { - "__id__": 84 + "__id__": 94 }, { - "__id__": 86 + "__id__": 96 } ], "_prefab": { - "__id__": 88 + "__id__": 98 }, "_lpos": { "__type__": "cc.Vec3", @@ -1744,11 +1878,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 83 + "__id__": 93 }, "_enabled": true, "__prefab": { - "__id__": 85 + "__id__": 95 }, "_contentSize": { "__type__": "cc.Size", @@ -1772,11 +1906,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 83 + "__id__": 93 }, "_enabled": true, "__prefab": { - "__id__": 87 + "__id__": 97 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1830,20 +1964,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 82 + "__id__": 92 }, "_children": [], "_active": true, "_components": [ { - "__id__": 90 + "__id__": 100 }, { - "__id__": 92 + "__id__": 102 } ], "_prefab": { - "__id__": 94 + "__id__": 104 }, "_lpos": { "__type__": "cc.Vec3", @@ -1880,11 +2014,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 89 + "__id__": 99 }, "_enabled": true, "__prefab": { - "__id__": 91 + "__id__": 101 }, "_contentSize": { "__type__": "cc.Size", @@ -1908,11 +2042,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 89 + "__id__": 99 }, "_enabled": true, "__prefab": { - "__id__": 93 + "__id__": 103 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1966,11 +2100,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 82 + "__id__": 92 }, "_enabled": true, "__prefab": { - "__id__": 96 + "__id__": 106 }, "_contentSize": { "__type__": "cc.Size", @@ -1994,11 +2128,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 82 + "__id__": 92 }, "_enabled": true, "__prefab": { - "__id__": 98 + "__id__": 108 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2039,21 +2173,21 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 82 + "__id__": 92 }, "_enabled": true, "__prefab": { - "__id__": 100 + "__id__": 110 }, "editingDidBegan": [], "textChanged": [], "editingDidEnded": [], "editingReturn": [], "_textLabel": { - "__id__": 86 + "__id__": 96 }, "_placeholderLabel": { - "__id__": 92 + "__id__": 102 }, "_returnType": 0, "_string": "", @@ -2077,11 +2211,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 82 + "__id__": 92 }, "_enabled": true, "__prefab": { - "__id__": 102 + "__id__": 112 }, "_alignFlags": 45, "_target": null, @@ -2126,30 +2260,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 81 + "__id__": 91 }, "_children": [ { - "__id__": 105 + "__id__": 115 } ], "_active": true, "_components": [ { - "__id__": 113 + "__id__": 123 }, { - "__id__": 115 + "__id__": 125 }, { - "__id__": 117 + "__id__": 127 }, { - "__id__": 120 + "__id__": 130 } ], "_prefab": { - "__id__": 122 + "__id__": 132 }, "_lpos": { "__type__": "cc.Vec3", @@ -2186,23 +2320,23 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 104 + "__id__": 114 }, "_children": [], "_active": true, "_components": [ { - "__id__": 106 + "__id__": 116 }, { - "__id__": 108 + "__id__": 118 }, { - "__id__": 110 + "__id__": 120 } ], "_prefab": { - "__id__": 112 + "__id__": 122 }, "_lpos": { "__type__": "cc.Vec3", @@ -2239,11 +2373,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 105 + "__id__": 115 }, "_enabled": true, "__prefab": { - "__id__": 107 + "__id__": 117 }, "_contentSize": { "__type__": "cc.Size", @@ -2267,11 +2401,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 105 + "__id__": 115 }, "_enabled": true, "__prefab": { - "__id__": 109 + "__id__": 119 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2312,11 +2446,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 105 + "__id__": 115 }, "_enabled": true, "__prefab": { - "__id__": 111 + "__id__": 121 }, "_color": { "__type__": "cc.Color", @@ -2351,11 +2485,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 114 }, "_enabled": true, "__prefab": { - "__id__": 114 + "__id__": 124 }, "_contentSize": { "__type__": "cc.Size", @@ -2379,11 +2513,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 114 }, "_enabled": true, "__prefab": { - "__id__": 116 + "__id__": 126 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2424,15 +2558,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 114 }, "_enabled": true, "__prefab": { - "__id__": 118 + "__id__": 128 }, "clickEvents": [ { - "__id__": 119 + "__id__": 129 } ], "_interactable": true, @@ -2484,7 +2618,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 104 + "__id__": 114 }, "_id": "" }, @@ -2508,11 +2642,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 114 }, "_enabled": true, "__prefab": { - "__id__": 121 + "__id__": 131 }, "_alignFlags": 32, "_target": null, @@ -2557,11 +2691,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 81 + "__id__": 91 }, "_enabled": true, "__prefab": { - "__id__": 124 + "__id__": 134 }, "_contentSize": { "__type__": "cc.Size", @@ -2585,11 +2719,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 81 + "__id__": 91 }, "_enabled": true, "__prefab": { - "__id__": 126 + "__id__": 136 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2630,11 +2764,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 81 + "__id__": 91 }, "_enabled": true, "__prefab": { - "__id__": 128 + "__id__": 138 }, "_alignFlags": 44, "_target": null, @@ -2683,7 +2817,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 131 + "__id__": 141 }, "_contentSize": { "__type__": "cc.Size", @@ -2711,7 +2845,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 133 + "__id__": 143 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2756,7 +2890,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 135 + "__id__": 145 }, "_alignFlags": 45, "_target": null, @@ -2805,7 +2939,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 138 + "__id__": 148 }, "_contentSize": { "__type__": "cc.Size", @@ -2833,7 +2967,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 140 + "__id__": 150 }, "_alignFlags": 45, "_target": null, @@ -2869,7 +3003,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 142 + "__id__": 152 }, "mask": true, "maskOpcity": 80, @@ -2882,7 +3016,7 @@ "__expectedType__": "cc.Prefab" }, "inputMessage": { - "__id__": 99 + "__id__": 109 }, "_id": "" }, @@ -2902,6 +3036,9 @@ "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": [ + { + "__id__": 61 + }, { "__id__": 51 }, diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物.meta b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物.meta new file mode 100644 index 00000000..ece43680 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "a98921f4-f143-43bb-ad77-c877dbdd4721", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物/宠物ICON.prefab b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物/宠物ICON.prefab new file mode 100644 index 00000000..f4089463 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物/宠物ICON.prefab @@ -0,0 +1,542 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "宠物ICON", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "宠物ICON", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + }, + { + "__id__": 14 + } + ], + "_active": true, + "_components": [ + { + "__id__": 20 + }, + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 24 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -217, + "y": -50, + "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": "选中", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 110, + "height": 110 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b4vJnGQvdKv4MXp8xLg6zf" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "01wxgAoWhO+qLRM5Jr3rH1" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fcC3JxewdM1K8tKbhV80+3", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "背景", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 11 + } + ], + "_prefab": { + "__id__": 13 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5dXmPodeBIzK9ZudCJ0lyM" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20sb9VIT5KFIQeKj9xXgfd" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5fFj0bKJZKHaJ1M3mytw3C", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spine", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 15 + }, + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 19 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -34, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.8, + "y": 0.8, + "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__": 14 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4A0L+eItAaJtEFXgkYXR2" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_skeletonData": null, + "defaultSkin": "", + "defaultAnimation": "", + "_premultipliedAlpha": false, + "_timeScale": 1, + "_preCacheMode": -1, + "_cacheMode": 0, + "_defaultCacheMode": 0, + "_sockets": [], + "_useTint": false, + "_debugMesh": false, + "_debugBones": false, + "_debugSlots": false, + "_enableBatch": false, + "loop": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4cHiUZWxdPRr49P1mMMVEz" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "50gNLxcs1J8ZGN6PlbNEU8", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "60HDOce21EU4mT/teH3tKt" + }, + { + "__type__": "7c665fcvLRGDqzjhgvUI4oN", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "spine": { + "__id__": 17 + }, + "select": { + "__id__": 2 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d4qo68UJJHyonQhZ4UFX08" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物/宠物ICON.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物/宠物ICON.prefab.meta new file mode 100644 index 00000000..6e9f3559 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物/宠物ICON.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "e59969f5-99a0-4259-ba3e-71093a65cfd8", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "宠物ICON" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/阵法/阵法.prefab b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/阵法/阵法.prefab index 792c5d9e..a4f8436e 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/阵法/阵法.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/阵法/阵法.prefab @@ -56,10 +56,13 @@ }, { "__id__": 78 + }, + { + "__id__": 80 } ], "_prefab": { - "__id__": 80 + "__id__": 82 }, "_lpos": { "__type__": "cc.Vec3", @@ -1209,6 +1212,24 @@ "__type__": "cc.CompPrefabInfo", "fileId": "eeTkntCrtDnqlmLBI6ArzH" }, + { + "__type__": "a93723onHFJLq9yzuZv1eBF", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 81 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a79c+1+OJK4o3xwVYpAprQ" + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/阵法/阵法节点.prefab b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/阵法/阵法节点.prefab index 1102871a..ba3f0c4e 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/阵法/阵法节点.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/阵法/阵法节点.prefab @@ -27,21 +27,21 @@ ], "_active": true, "_components": [ - { - "__id__": 18 - }, - { - "__id__": 20 - }, - { - "__id__": 22 - }, { "__id__": 24 + }, + { + "__id__": 26 + }, + { + "__id__": 28 + }, + { + "__id__": 30 } ], "_prefab": { - "__id__": 27 + "__id__": 33 }, "_lpos": { "__type__": "cc.Vec3", @@ -337,15 +337,19 @@ "_parent": { "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "_children": [ { "__id__": 15 } ], + "_active": true, + "_components": [ + { + "__id__": 21 + } + ], "_prefab": { - "__id__": 17 + "__id__": 23 }, "_lpos": { "__type__": "cc.Vec3", @@ -376,6 +380,140 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "spine", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 16 + }, + { + "__id__": 18 + } + ], + "_prefab": { + "__id__": 20 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -35.47, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.8, + "y": 0.8, + "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__": 15 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "65I6WOBWVCLrW6iywP48T/" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_skeletonData": null, + "defaultSkin": "", + "defaultAnimation": "", + "_premultipliedAlpha": true, + "_timeScale": 1, + "_preCacheMode": -1, + "_cacheMode": 0, + "_defaultCacheMode": 0, + "_sockets": [], + "_useTint": false, + "_debugMesh": false, + "_debugBones": false, + "_debugSlots": false, + "_enableBatch": false, + "loop": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0f1OnVOdxOHpmwVY/VyzDJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "76QA5Y2AxFN7Jjq4/IKsPA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -386,7 +524,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 16 + "__id__": 22 }, "_contentSize": { "__type__": "cc.Size", @@ -427,7 +565,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 19 + "__id__": 25 }, "_contentSize": { "__type__": "cc.Size", @@ -455,7 +593,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 21 + "__id__": 27 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -500,7 +638,13 @@ }, "_enabled": true, "__prefab": { - "__id__": 23 + "__id__": 29 + }, + "noPet": { + "__id__": 2 + }, + "havePet": { + "__id__": 14 }, "_id": "" }, @@ -518,15 +662,15 @@ }, "_enabled": true, "__prefab": { - "__id__": 25 + "__id__": 31 }, "clickEvents": [ { - "__id__": 26 + "__id__": 32 } ], "_interactable": true, - "_transition": 3, + "_transition": 0, "_normalColor": { "__type__": "cc.Color", "r": 255, @@ -566,7 +710,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "efw+0GxCpOZ5ROxDkIQkn1" + "fileId": "3bADZ0NEBKT7VejLYWOUff" }, { "__type__": "cc.ClickEvent", diff --git a/JisolGameCocos/assets/resources/prefab/ui/系统页面/Tips.meta b/JisolGameCocos/assets/resources/prefab/ui/系统页面/提示.meta similarity index 100% rename from JisolGameCocos/assets/resources/prefab/ui/系统页面/Tips.meta rename to JisolGameCocos/assets/resources/prefab/ui/系统页面/提示.meta diff --git a/JisolGameCocos/assets/resources/prefab/ui/系统页面/Tips/TipsView.prefab b/JisolGameCocos/assets/resources/prefab/ui/系统页面/提示/TipsView.prefab similarity index 100% rename from JisolGameCocos/assets/resources/prefab/ui/系统页面/Tips/TipsView.prefab rename to JisolGameCocos/assets/resources/prefab/ui/系统页面/提示/TipsView.prefab diff --git a/JisolGameCocos/assets/resources/prefab/ui/系统页面/Tips/TipsView.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/系统页面/提示/TipsView.prefab.meta similarity index 100% rename from JisolGameCocos/assets/resources/prefab/ui/系统页面/Tips/TipsView.prefab.meta rename to JisolGameCocos/assets/resources/prefab/ui/系统页面/提示/TipsView.prefab.meta diff --git a/JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示.meta b/JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示.meta new file mode 100644 index 00000000..b7715d82 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "9552f0a3-1ed5-46e4-8d36-07d4a3cbe7f9", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示/SelectionBox.prefab b/JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示/SelectionBox.prefab new file mode 100644 index 00000000..7c286904 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示/SelectionBox.prefab @@ -0,0 +1,1949 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "SelectionBox", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "SelectionBox", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 80 + }, + { + "__id__": 82 + }, + { + "__id__": 84 + } + ], + "_prefab": { + "__id__": 86 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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": "root", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 17 + }, + { + "__id__": 63 + } + ], + "_active": true, + "_components": [ + { + "__id__": 77 + } + ], + "_prefab": { + "__id__": 79 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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": "标题", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 4 + } + ], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 14 + } + ], + "_prefab": { + "__id__": 16 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 188.615, + "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": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_prefab": { + "__id__": 11 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 86.001953125, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "feHItLUgpE77OxF7WHDbYv" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "标 题", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8dcsRTes1EeYHfGQSWiEr7" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "faYZ/fq/JCrIad11AEwX9G" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "191+eJG2dMW5gqs8iCckIO", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "098g0iPk5MOKgYvSAKLpMb" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 204, + "g": 204, + "b": 204, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bcc3xo5FBGBKF2YdfDAnY2" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "45UI5bmtxIDaqyFLqIe8kp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "按钮", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 18 + } + ], + "_active": true, + "_components": [ + { + "__id__": 58 + }, + { + "__id__": 60 + } + ], + "_prefab": { + "__id__": 62 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -198.34500000000003, + "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": "Layout", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 17 + }, + "_children": [ + { + "__id__": 19 + }, + { + "__id__": 36 + } + ], + "_active": true, + "_components": [ + { + "__id__": 53 + }, + { + "__id__": 55 + } + ], + "_prefab": { + "__id__": 57 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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": "Button", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 18 + }, + "_children": [ + { + "__id__": 20 + } + ], + "_active": true, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 30 + }, + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 35 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -125, + "y": 0, + "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": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 19 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 21 + }, + { + "__id__": 23 + }, + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 27 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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__": 20 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6adUyeJN9H4IYw4kbe5tRK" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "取 消", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 28, + "_fontSize": 28, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "edsGNwTutKM54rhRlv5SKr" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": { + "__id__": 26 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a2U8Q42OpJfo5JOjGg9dNx" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3f5MDVlElLbaT0OuCqK14r", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "103jkK2cVAE5RIQPEZVNM9" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7bKxfFnGJESrQbSGM+JmUx" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "clickEvents": [ + { + "__id__": 34 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 19 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e71XVtrWZATL0n+T5fEJ5+" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "637d2qdlk5B8rlrK/1+fcaG", + "handler": "onClickCancel", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a4NH/pzKFKPL4Jj42lQJDs", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Button-001", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 18 + }, + "_children": [ + { + "__id__": 37 + } + ], + "_active": true, + "_components": [ + { + "__id__": 45 + }, + { + "__id__": 47 + }, + { + "__id__": 49 + } + ], + "_prefab": { + "__id__": 52 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 125, + "y": 0, + "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": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 36 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 38 + }, + { + "__id__": 40 + }, + { + "__id__": 42 + } + ], + "_prefab": { + "__id__": 44 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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__": 37 + }, + "_enabled": true, + "__prefab": { + "__id__": 39 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8fZWw9lFVBo5bTmYlccnYP" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "确 认", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 28, + "_fontSize": 28, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d8OL2KKR1Fp4bH4e2mQoQu" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": { + "__id__": 43 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e5GQsGeJhGIYqSgSVsMQKl" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "97VEB4tilOo4JWLUY326WW", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 46 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c6frlE4plOwqUS47YfvGmO" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 48 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c5GtLZzFpM0I0sTCkf3aqQ" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 50 + }, + "clickEvents": [ + { + "__id__": 51 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 36 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "372uecDVZAKr0Qkz1wazTK" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "637d2qdlk5B8rlrK/1+fcaG", + "handler": "onClickConfirm", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cahCqLRXFGLYmjgo/VEEzO", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 54 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 400, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "88YepSR1BGiJ8lx51cmJzO" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 56 + }, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 100, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20hHlhG3ZBv7260+XcHVEx" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f0PfwPKydHhqd3+HFya3Iv", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 59 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d8cPy4tGJECIOH/lDWS4cr" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 61 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 99, + "g": 99, + "b": 99, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "02fWXh8w5P8LFeoXv7xKr+" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "29tsiYdbFAmpqioL1hZk5D", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "内容", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 64 + } + ], + "_active": true, + "_components": [ + { + "__id__": 72 + }, + { + "__id__": 74 + } + ], + "_prefab": { + "__id__": 76 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 63 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 65 + }, + { + "__id__": 67 + }, + { + "__id__": 69 + } + ], + "_prefab": { + "__id__": 71 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 66 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 256, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "97HLHPE99KqqaKHvgDjgfQ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 68 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "这是一个提示选择框", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 28, + "_fontSize": 28, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2fE8Vs7ORM36XXDBa5mjn/" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 70 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "020BrTUVBOvI40lLllfr3o" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "51mslVXK9CoaVTR7kb/dfT", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": { + "__id__": 73 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 300 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "94wLBy3ZZCNLj/z/sOMJcE" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": { + "__id__": 75 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "26Ui2/qLBJ6ahmj4mbXXLC" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "21huvOJSpEl7CeTqIQl4ms", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 78 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9fk4APCRZGvZvi7yeghJgu" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "01XGrvyfxD3olLAoG+cA6M", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 81 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dgJxmIH5HIpXD6y0/xMwI" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 83 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "582zBz6m5DKqmkTkiS/LE0" + }, + { + "__type__": "637d2qdlk5B8rlrK/1+fcaG", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 85 + }, + "mask": false, + "maskOpcity": 80, + "isClickMaskeClose": false, + "titleLabel": { + "__id__": 7 + }, + "tigLabel": { + "__id__": 67 + }, + "cancalBtn": { + "__id__": 32 + }, + "confirmBtn": { + "__id__": 49 + }, + "btns": { + "__id__": 17 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "45C/eqwnVBJ7AFQCRdmOWA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "08xLpDDa9NlK3pgR7XiOqb", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示/SelectionBox.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示/SelectionBox.prefab.meta new file mode 100644 index 00000000..3c07749d --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/系统页面/选择提示/SelectionBox.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "db69a24b-0109-4e72-9975-7a4e80e86c3e", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "SelectionBox" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/阵法/IntoBattleView.prefab b/JisolGameCocos/assets/resources/prefab/ui/阵法/IntoBattleView.prefab index 52815465..14a2e391 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/阵法/IntoBattleView.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/阵法/IntoBattleView.prefab @@ -25,17 +25,17 @@ "_active": true, "_components": [ { - "__id__": 8 + "__id__": 91 }, { - "__id__": 10 + "__id__": 93 }, { - "__id__": 12 + "__id__": 95 } ], "_prefab": { - "__id__": 14 + "__id__": 97 }, "_lpos": { "__type__": "cc.Vec3", @@ -74,19 +74,1490 @@ "_parent": { "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "_children": [ { "__id__": 3 }, { - "__id__": 5 + "__id__": 21 + }, + { + "__id__": 65 + } + ], + "_active": true, + "_components": [ + { + "__id__": 84 + }, + { + "__id__": 86 + }, + { + "__id__": 88 } ], "_prefab": { + "__id__": 90 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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": "宠物信息", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 4 + } + ], + "_active": true, + "_components": [ + { + "__id__": 16 + }, + { + "__id__": 18 + } + ], + "_prefab": { + "__id__": 20 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 450, + "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": "宠物", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [ + { + "__id__": 5 + } + ], + "_active": true, + "_components": [ + { + "__id__": 11 + }, + { + "__id__": 13 + } + ], + "_prefab": { + "__id__": 15 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -134.352, + "y": -148.623, + "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": "Spine", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 4 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + }, + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -85.798, + "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__": 5 + }, + "_enabled": true, + "__prefab": { "__id__": 7 }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9cFGX9wKNG5adKnyjwUUBl" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_skeletonData": null, + "defaultSkin": "", + "defaultAnimation": "", + "_premultipliedAlpha": true, + "_timeScale": 1, + "_preCacheMode": -1, + "_cacheMode": 0, + "_defaultCacheMode": 0, + "_sockets": [], + "_useTint": false, + "_debugMesh": false, + "_debugBones": false, + "_debugSlots": false, + "_enableBatch": false, + "loop": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "afvwQMWpJEN4ad9XqUn/Os" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "59AnT4EMRNep0FQy8UNq+B", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 250 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d0wONnRwVDvYB8KjS9ScIl" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 201, + "g": 201, + "b": 201, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3c2+0HA1FAKoafcrnIHJUy" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1dYaPkTqtK2oInTXYBpXfM", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 300 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a7v95Jt2lNL5TFuID+B3lu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_alignFlags": 41, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cbY7aqHhtEV62KdALkj9oK" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "40hBb/khZF6IQU3obPp/Pq", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "宠物列表", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 22 + }, + { + "__id__": 40 + } + ], + "_active": true, + "_components": [ + { + "__id__": 58 + }, + { + "__id__": 60 + }, + { + "__id__": 62 + }, + { + "__id__": 37 + } + ], + "_prefab": { + "__id__": 64 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -85, + "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": "scrollBar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 21 + }, + "_children": [ + { + "__id__": 23 + } + ], + "_active": true, + "_components": [ + { + "__id__": 29 + }, + { + "__id__": 31 + }, + { + "__id__": 33 + }, + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 57 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 275, + "y": 0, + "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": "bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 22 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 24 + }, + { + "__id__": 26 + } + ], + "_prefab": { + "__id__": 28 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": -31.25, + "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__": 23 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 156.25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "beO0Ny+aRJPJW2zaQN0F4h" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_spriteFrame": { + "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "910UwgVSRAT7cUstqjnveL" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b3OFicdQRJfYIKwYek8m6Z", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 30 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 470 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e9TdHK+SJMI6DHNVxyZg39" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_spriteFrame": { + "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "54uy2HfAZEjL4u8EWI9Mht" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_alignFlags": 37, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9fIInbre9Hl5H1SRZjlNJ5" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 36 + }, + "_scrollView": { + "__id__": 37 + }, + "_handle": { + "__id__": 26 + }, + "_direction": 1, + "_enableAutoHide": false, + "_autoHideTime": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "61WBycWglGF7Wgxl/uixRt" + }, + { + "__type__": "563f2c1JcVKmrpHhC0vl3PI", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": { + "__id__": 38 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": true, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 39 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": { + "__id__": 35 + }, + "itemPrefab": { + "__uuid__": "e59969f5-99a0-4259-ba3e-71093a65cfd8", + "__expectedType__": "cc.Prefab" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5fzZ+QwLdDtZman+w7PVqT" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 40 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 50 + }, + { + "__id__": 52 + }, + { + "__id__": 54 + } + ], + "_prefab": { + "__id__": 56 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "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": "view", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 21 + }, + "_children": [ + { + "__id__": 39 + } + ], + "_active": true, + "_components": [ + { + "__id__": 41 + }, + { + "__id__": 43 + }, + { + "__id__": 45 + }, + { + "__id__": 47 + } + ], + "_prefab": { + "__id__": 49 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 235, + "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__": 40 + }, + "_enabled": true, + "__prefab": { + "__id__": 42 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 470 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8cvNrhK8ZHfbqmxV7D6dyv" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 40 + }, + "_enabled": true, + "__prefab": { + "__id__": 44 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_alphaThreshold": 0.1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a6IGFAFIxGdZQD2D57LJ4E" + }, + { + "__type__": "cc.Graphics", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 40 + }, + "_enabled": true, + "__prefab": { + "__id__": 46 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_lineWidth": 1, + "_strokeColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_lineJoin": 2, + "_lineCap": 0, + "_fillColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_miterLimit": 10, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "701i+PEbBKo6Ou31CiFm9Y" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 40 + }, + "_enabled": true, + "__prefab": { + "__id__": 48 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "678cLuMolJNb/rp+vdv18B" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9fcTOBRaZGsKKDZjp/OrHf", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 39 + }, + "_enabled": true, + "__prefab": { + "__id__": 51 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 10 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20Td8nkthAcobKTsBlmi2z" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 39 + }, + "_enabled": true, + "__prefab": { + "__id__": 53 + }, + "_resizeMode": 1, + "_layoutType": 3, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 10, + "_paddingRight": 0, + "_paddingTop": 10, + "_paddingBottom": 0, + "_spacingX": 8, + "_spacingY": 8, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a6xaxXKgRL2pSINNL7Pr+G" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 39 + }, + "_enabled": true, + "__prefab": { + "__id__": 55 + }, + "_alignFlags": 40, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 220, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "affoUC3LVAx4A6MCY9WVFL" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5bvNDVSK5MxJT7deiKZQ9z", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "47OMtehs1PTLY6wRDnMmy5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": { + "__id__": 59 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 470 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9e8JDP6Z5Eqr/lSRuHqjvI" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": { + "__id__": 61 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b730527c-3233-41c2-aaf7-7cdab58f9749@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dcRsIuk19HB46JmhP+akQO" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": { + "__id__": 63 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 300, + "_bottom": 130, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d6tVDYeIdO4pe6Gp/CbgIO" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "65VS00MqBEa6R3IM6QycKC", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "上阵", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 66 + } + ], + "_active": true, + "_components": [ + { + "__id__": 74 + }, + { + "__id__": 76 + }, + { + "__id__": 78 + }, + { + "__id__": 81 + } + ], + "_prefab": { + "__id__": 83 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -385, + "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": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 65 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 67 + }, + { + "__id__": 69 + }, + { + "__id__": 71 + } + ], + "_prefab": { + "__id__": 73 + }, "_lpos": { "__type__": "cc.Vec3", "x": 0, @@ -116,6 +1587,324 @@ }, "_id": "" }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": { + "__id__": 68 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9e+AR41b5P75g0hGoGqAxs" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": { + "__id__": 70 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "上阵", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 28, + "_fontSize": 28, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0eDUPg91tDzramBLkMIuwU" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": { + "__id__": 72 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 3, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ec6tDDrjxAy4TSO+QxlZio" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "30qzKCoCtDjomBMqso9XM7", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 65 + }, + "_enabled": true, + "__prefab": { + "__id__": 75 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 70 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d2O9JrYmVHyrBdc5W6CSEN" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 65 + }, + "_enabled": true, + "__prefab": { + "__id__": 77 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "78CA2AiEpCQ78u8IzOL8Tk" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 65 + }, + "_enabled": true, + "__prefab": { + "__id__": 79 + }, + "clickEvents": [ + { + "__id__": 80 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 65 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d6glZwQIZP2ajtb75+lvXQ" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "00e5fiwk55OFq7ZIZmksXGJ", + "handler": "onClickTactical", + "customEventData": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 65 + }, + "_enabled": true, + "__prefab": { + "__id__": 82 + }, + "_alignFlags": 4, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 30, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9dXK30MLZCgpHyoAck8ZGM" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0fQJc+KxdBIIFYT+bBG+Is", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -126,12 +1915,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 4 + "__id__": 85 }, "_contentSize": { "__type__": "cc.Size", "width": 550, - "height": 800 + "height": 900 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -154,7 +1943,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 6 + "__id__": 87 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -189,6 +1978,24 @@ "__type__": "cc.CompPrefabInfo", "fileId": "b3/zsRycZIh7r2rjWWtX8P" }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 89 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "415sfQkxFOvIr61TWj3cl/" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -212,7 +2019,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 9 + "__id__": 92 }, "_contentSize": { "__type__": "cc.Size", @@ -240,7 +2047,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 11 + "__id__": 94 }, "_alignFlags": 45, "_target": null, @@ -276,11 +2083,21 @@ }, "_enabled": true, "__prefab": { - "__id__": 13 + "__id__": 96 }, "mask": true, "maskOpcity": 80, "isClickMaskeClose": true, + "views": { + "__id__": 37 + }, + "petIconPrefab": { + "__uuid__": "e59969f5-99a0-4259-ba3e-71093a65cfd8", + "__expectedType__": "cc.Prefab" + }, + "spine": { + "__id__": 8 + }, "_id": "" }, { diff --git a/JisolGameCocos/assets/script/data/PlayerPetData.ts b/JisolGameCocos/assets/script/data/PlayerPetData.ts index 55e6635b..4f48d885 100644 --- a/JisolGameCocos/assets/script/data/PlayerPetData.ts +++ b/JisolGameCocos/assets/script/data/PlayerPetData.ts @@ -16,7 +16,7 @@ export default class PlayerPetData extends BaseData{ } //获取全部宠物 - getData(){ + getData():PlayerPetOV[]{ return this.datas; } @@ -33,6 +33,11 @@ export default class PlayerPetData extends BaseData{ await this.UpdatePlayerPet(); } + //通过宠物Id找到宠物 + petIdQueryPetInfo(petId:number):PlayerPetOV{ + return this.datas.filter(item => item.petId == petId)[0] + } + } diff --git a/JisolGameCocos/assets/script/data/PlayerTacticalData.ts b/JisolGameCocos/assets/script/data/PlayerTacticalData.ts index c46f2a2d..7d419a82 100644 --- a/JisolGameCocos/assets/script/data/PlayerTacticalData.ts +++ b/JisolGameCocos/assets/script/data/PlayerTacticalData.ts @@ -1,6 +1,12 @@ +import { app } from "../App"; import { API, PlayerTacticalOV } from "../consts/API"; import BaseData from "./BaseData"; +export enum PlayerTacticalEvent{ + //更新上阵信息 + UPDATE_TACTICAL = "PlayerTacticalEvent_UPDATE_TACTICAL" +} + interface PlayerTacticalInfo extends PlayerTacticalOV{ roles:number[], //上阵的宠物顺序 } @@ -17,9 +23,9 @@ export default class PlayerTacticalData extends BaseData{ } - //更新阵法信息 - async onUpdateInfo(){ - let ov = await API.GetPlayerTactical(); + //保存阵法信息 + onSaveTacticalInfo(ov:PlayerTacticalOV){ + if(!ov.tacticalData){ ov.tacticalData = JSON.stringify(this.getTacticalInfo()); } @@ -27,14 +33,28 @@ export default class PlayerTacticalData extends BaseData{ ...ov, roles: JSON.parse(ov.tacticalData), } + + //通知阵法信息已更新 + app.event.emit(PlayerTacticalEvent.UPDATE_TACTICAL); + } + + //更新阵法信息 + async onUpdateInfo(){ + this.onSaveTacticalInfo(await API.GetPlayerTactical()); } //更新上阵 async UpdateTactical(roles:number[]){ this.info.roles = roles; this.info.tacticalData = JSON.stringify(this.info.roles); - //上传到服务器 - await API.SetPlayerTactical(this.info); + //上传到服务器 并且保存 + this.onSaveTacticalInfo(await API.SetPlayerTactical(this.info)); + } + + //修改指定位置的上阵 上阵下标,上阵的宠物Id + async UpdateIndexTactical(index:number,petId:number){ + this.info.roles[index] = petId; + await this.UpdateTactical(this.info.roles); } //获取指定位置 diff --git a/JisolGameCocos/assets/script/ui/Consts/Pet.meta b/JisolGameCocos/assets/script/ui/Consts/Pet.meta new file mode 100644 index 00000000..74f989cf --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/Pet.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "c4c3edaa-a350-4973-8ada-7377cbb0481f", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Consts/Pet/PetIconItem.ts b/JisolGameCocos/assets/script/ui/Consts/Pet/PetIconItem.ts new file mode 100644 index 00000000..898dda0b --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/Pet/PetIconItem.ts @@ -0,0 +1,42 @@ +import { _decorator, Component, Node } from 'cc'; +import JNScrollViewItem from '../../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollViewItem'; +import { PlayerPetOV } from '../../../consts/API'; +import { sp } from 'cc'; +import { app } from '../../../App'; +import { UIPetAnim } from '../../../consts/GData'; +const { ccclass, property } = _decorator; + +@ccclass('PetIconItem') +export class PetIconItem extends JNScrollViewItem { + + @property(sp.Skeleton) + spine:sp.Skeleton; + + //选中节点 + @property(Node) + select:Node; + + //是否被选中 + isSelect:boolean = false; + + onLoad(){ + this.onUpdateSelect(); + } + + start(): void { + + //显示角色 + this.spine.skeletonData = app.battleRes.roleSpine[this.data.petTbId]; + this.spine.setAnimation(0,UIPetAnim.std,true); + + } + + onUpdateSelect(){ + + this.select.active = this.isSelect; + + } + +} + + diff --git a/JisolGameCocos/assets/script/ui/Consts/Pet/PetIconItem.ts.meta b/JisolGameCocos/assets/script/ui/Consts/Pet/PetIconItem.ts.meta new file mode 100644 index 00000000..d9708715 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/Pet/PetIconItem.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "7c6657dc-bcb4-460e-ace3-860bd4238a0d", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalItem.ts b/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalItem.ts index 5318ff01..5997da54 100644 --- a/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalItem.ts +++ b/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalItem.ts @@ -2,6 +2,9 @@ import { _decorator, Component, Node } from 'cc'; import PlayerTacticalData from '../../../data/PlayerTacticalData'; import { app } from '../../../App'; import { GUI } from '../../UIConfig'; +import { sp } from 'cc'; +import { UIPetAnim } from '../../../consts/GData'; +import PlayerPetData from '../../../data/PlayerPetData'; const { ccclass, property } = _decorator; @ccclass('PlayerTacticalItem') @@ -9,20 +12,76 @@ export class PlayerTacticalItem extends Component { //阵法的Index; index:number; + + //没有宠物的节点 + @property(Node) + noPet:Node; + + //有宠物的节点 + @property(Node) + havePet:Node; + + //当前上阵的宠物 + petId:number; //初始化阵法 onInit(index:number){ this.index = index; } - //更新信息 - onUpdateView(){ - PlayerTacticalData.getIns().getItem(this.index); + protected start(): void { + this.onUpdateView(); } - //点击 + //更新信息 + onUpdateView(){ + + //获取阵法下的宠物 + this.petId = PlayerTacticalData.getIns().getItem(this.index); + + //如果为0则没有宠物 + if(this.petId){ + this.havePet.active = true; + this.noPet.active = false; + this.onUpdatePetView(); + }else{ + this.noPet.active = true; + this.havePet.active = false; + } + + } + + //更新宠物信息 + onUpdatePetView(){ + + let spine = this.havePet.getComponentInChildren(sp.Skeleton); + //获取宠物信息 + let info = PlayerPetData.getIns().petIdQueryPetInfo(this.petId); + spine.skeletonData = app.battleRes.roleSpine[info.petTbId]; + spine.setAnimation(0,UIPetAnim.std,true); + + } + + //打开选择阵法宠物 onClick(){ - app.layer.Open(GUI.IntoBattleView); + //如果没有宠物则弹出选择宠物 负责 删除宠物 + if(this.petId){ + //移除宠物 + //提示是否移除宠物 + app.layer.Open(GUI.SelectionBox,{ + tigText:"是否移除宠物?", + cancel:()=>{}, + confirm:async ()=>{ + //移除宠物 (0就是移除) + await PlayerTacticalData.getIns().UpdateIndexTactical(this.index,0); + } + }) + }else{ + //选择宠物 + app.layer.Open(GUI.IntoBattleView,{ + index:this.index, //当前选择的阵法下标 + }); + } } } diff --git a/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalView.ts b/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalView.ts index bc3fb77a..324e0755 100644 --- a/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalView.ts +++ b/JisolGameCocos/assets/script/ui/Consts/Tactical/PlayerTacticalView.ts @@ -1,5 +1,7 @@ import { _decorator, Component, Node } from 'cc'; import { PlayerTacticalItem } from './PlayerTacticalItem'; +import { app } from '../../../App'; +import { PlayerTacticalEvent } from '../../../data/PlayerTacticalData'; const { ccclass, property } = _decorator; /** @@ -12,22 +14,42 @@ export class PlayerTacticalView extends Component { //阵法子节点列表 items:PlayerTacticalItem[] = []; - // onLoad(){ + onLoad(){ - // //阵法 - // this.items = this.node.getComponentsInChildren(PlayerTacticalItem); - // this.items.forEach((item,index) => item.onInit(index)); + //阵法 + this.items = this.node.getComponentsInChildren(PlayerTacticalItem); + this.items.forEach((item,index) => { + item.onInit(index); //初始化阵法下标 + }); - // this.onUpdateView(); + this.onUpdateView(); - // } + this.onEvent(); - // //更新阵法显示 - // onUpdateView(){ - // this.items.forEach(item => { - // item.onUpdateView(); - // }) - // } + } + + protected onDestroy(): void { + this.offEvent(); + } + + //添加监听 + onEvent(){ + app.event.on(PlayerTacticalEvent.UPDATE_TACTICAL,this.onUpdateView,this); + } + + //移除监听 + offEvent(){ + app.event.off(PlayerTacticalEvent.UPDATE_TACTICAL,this.onUpdateView,this); + } + + //更新阵法显示 + onUpdateView(){ + + this.items.forEach(item => { + item.onUpdateView(); + }) + + } } diff --git a/JisolGameCocos/assets/script/ui/System/SelectionBox.meta b/JisolGameCocos/assets/script/ui/System/SelectionBox.meta new file mode 100644 index 00000000..a5603d09 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/System/SelectionBox.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "a4864ef2-ad5e-48a7-8882-e5c04a634d81", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/System/SelectionBox/SelectionBox.ts b/JisolGameCocos/assets/script/ui/System/SelectionBox/SelectionBox.ts new file mode 100644 index 00000000..49dbbdd8 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/System/SelectionBox/SelectionBox.ts @@ -0,0 +1,93 @@ +import { _decorator, Component, Node } from 'cc'; +import JNLayerBase from '../../../../../extensions/ngame/assets/ngame/ui/base/JNLayerBase'; +import { Label } from 'cc'; +import { Button } from 'cc'; +import { app } from '../../../App'; +const { ccclass, property } = _decorator; + +export interface SelectionBoxInfo{ + cancelText?:string, //取消按钮文字 + cancel?:Function, //取消事件 + confirmText?:string, //确认按钮文字 + confirm?:Function, //确认事件 + isHideMake?:boolean, //是否隐藏遮罩 + isMaskClose?:boolean, //是否点击遮罩关闭 + + tigText?:string, //提示内容 + titleText?:string, //标题内容 +} + +@ccclass('SelectionBox') +export class SelectionBox extends JNLayerBase { + + //标题 + @property(Label) + titleLabel:Label; + + //提示文字 + @property(Label) + tigLabel:Label; + + //取消按钮 + @property(Button) + cancalBtn:Button; + + //确认按钮 + @property(Button) + confirmBtn:Button; + + //按钮列表 + @property(Node) + btns:Node; + + data:SelectionBoxInfo; + + onJNLoad(data?: SelectionBoxInfo): void { + + this.data = data; + + //默认不可以 + data.isMaskClose = !!data.isMaskClose; + data.tigText = data.tigText || "这是一个提示选择框"; + data.titleText = data.titleText || "标 题"; + data.cancelText = data.cancelText || "取 消"; + data.confirmText = data.confirmText || "确 认"; + + this.mask = !data.isHideMake; + this.isClickMaskeClose = data.isMaskClose; + + this.tigLabel.string = data.tigText; + this.titleLabel.string = data.titleText; + + //没有事件则不显示 + this.cancalBtn.node.active = !!data.cancel; + this.confirmBtn.node.active = !!data.confirm; + + //显示按钮文字 + this.cancalBtn.getComponentInChildren(Label).string = data.cancelText; + this.confirmBtn.getComponentInChildren(Label).string = data.confirmText; + + //如果都没有则隐藏按钮列表 + if(!data.cancel && data.confirm) + this.btns.active = false; + + super.onJNLoad(); + + } + + //点击确认 + async onClickConfirm(){ + this.data.confirm && await this.data.confirm(); + //关闭页面 + app.layer.CloseNode(this.node); + } + //点击取消 + async onClickCancel(){ + this.data.cancel && await this.data.cancel(); + //关闭页面 + app.layer.CloseNode(this.node); + } + +} + + diff --git a/JisolGameCocos/assets/script/ui/System/SelectionBox/SelectionBox.ts.meta b/JisolGameCocos/assets/script/ui/System/SelectionBox/SelectionBox.ts.meta new file mode 100644 index 00000000..54af579f --- /dev/null +++ b/JisolGameCocos/assets/script/ui/System/SelectionBox/SelectionBox.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "637d2a9d-964e-41f2-b96b-2bfd7e7dc686", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Tactical/IntoBattleView.ts b/JisolGameCocos/assets/script/ui/Tactical/IntoBattleView.ts index bd1c132a..32a0c2cd 100644 --- a/JisolGameCocos/assets/script/ui/Tactical/IntoBattleView.ts +++ b/JisolGameCocos/assets/script/ui/Tactical/IntoBattleView.ts @@ -1,5 +1,16 @@ import { _decorator, Component, Node } from 'cc'; import JNLayerBase from '../../../../extensions/ngame/assets/ngame/ui/base/JNLayerBase'; +import { Prefab } from 'cc'; +import PlayerPetData from '../../data/PlayerPetData'; +import JNScrollView from '../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollView'; +import { PetIconItem } from '../Consts/Pet/PetIconItem'; +import { NodeEventType } from 'cc'; +import { sp } from 'cc'; +import { app } from '../../App'; +import { PlayerPetOV } from '../../consts/API'; +import { UIPetAnim } from '../../consts/GData'; +import { GUI } from '../UIConfig'; +import PlayerTacticalData from '../../data/PlayerTacticalData'; const { ccclass, property } = _decorator; //上阵页面 @@ -7,6 +18,95 @@ const { ccclass, property } = _decorator; export class IntoBattleView extends JNLayerBase { + @property(JNScrollView) + views:JNScrollView; //宠物列表 + + @property(Prefab) + petIconPrefab; //宠物Icon预制体 + + @property(sp.Skeleton) + spine:sp.Skeleton; //当前选中的宠物 + + //宠物数据 + pets:PlayerPetOV[] = []; + + //当前选中 + index:number = -1; + + tIndex:number = -1; //阵法下标 + + onJNLoad(data: {index}): void { + + super.onJNLoad(); + + //获取传入的下标 + this.tIndex = data.index; + + console.log("你选择的是",this.tIndex); + + this.onUpdateView(); + + } + + //刷新页面 + onUpdateView(){ + + //获取所有玩家宠物 + this.pets = PlayerPetData.getIns().getData(); + this.views.refreshData(this.pets); + + //向子节点添加点击事件 + this.views.addItemEvent(NodeEventType.TOUCH_START,this.onClickItem.bind(this)); + + } + + //刷新选中 + onUpdateSelect(){ + + //默认都不选中 + this.views.getItems().forEach(item => { + item.isSelect = false; + item.onUpdateSelect(); + }) + + //设置选中 + if(this.index != -1){ + let current = this.views.getItems()[this.index] + current.isSelect = true; + current.onUpdateSelect(); + } + + //显示选中宠物 + this.spine.skeletonData = app.battleRes.roleSpine[this.pets[this.index].petTbId]; + this.spine.setAnimation(0,UIPetAnim.std,true); + + } + + //点击Item + onClickItem(index:number){ + + //设置当前选中 + this.index = index; + //刷新 + this.onUpdateSelect(); + + } + + //点击上阵 + async onClickTactical(){ + + if(this.index < 0){ + app.layer.Open(GUI.Tips,{text:"请选择要上阵的宠物."}) + return; + } + + //修改上阵信息 + await PlayerTacticalData.getIns().UpdateIndexTactical(this.index,this.pets[this.index].petId); + + //上阵完 关闭页面 + app.layer.CloseNode(this.node); + + } } diff --git a/JisolGameCocos/assets/script/ui/UIConfig.ts b/JisolGameCocos/assets/script/ui/UIConfig.ts index a4eb659a..da0cd2dc 100644 --- a/JisolGameCocos/assets/script/ui/UIConfig.ts +++ b/JisolGameCocos/assets/script/ui/UIConfig.ts @@ -9,9 +9,10 @@ export enum GLayer{ export enum GUI{ /** 系统UI */ - Login = "Login", //登录页面 - Loading = "Loading", //加载页面 - Tips = "Tips", //提示 + Login = "Login", //登录页面 + Loading = "Loading", //加载页面 + Tips = "Tips", //提示 + SelectionBox = "SelectionBox", //选择提示页面 (用于玩家确定该操作) /** 新手引导 */ NoviceNamingView = "NoviceNamingView", //新手引导页面 - 取名 @@ -31,12 +32,20 @@ export enum GUI{ const UISystemConfig:{ [key: string]: JNLayerInfo; } = { [GUI.Tips]:{ layer:GLayer.Tips, - uri: "prefab/ui/系统页面/Tips/TipsView", + uri: "prefab/ui/系统页面/提示/TipsView", anims:{ front:JNLayerAnim.BackOutOpen, back:JNLayerAnim.BackInClose } }, + [GUI.SelectionBox]:{ + layer:GLayer.Tips, + uri: "prefab/ui/系统页面/选择提示/SelectionBox", + anims:{ + front:JNLayerAnim.BackOutOpen, + back:JNLayerAnim.BackInClose + }, + }, [GUI.Login]:{ layer:GLayer.Popup, uri: "prefab/ui/系统页面/LoginView", @@ -58,7 +67,7 @@ const UISystemConfig:{ [key: string]: JNLayerInfo; } = { //主页UI const UIMainConfig:{ [key: string]: JNLayerInfo; } = { [GUI.MainChat]:{ - layer:GLayer.Tips, + layer:GLayer.View, uri: "prefab/ui/主页/聊天/MainChatView", anims:{ front:JNLayerAnim.Enlarge, diff --git a/JisolGameCocos/extensions/ngame b/JisolGameCocos/extensions/ngame index ccb2f088..bb05b446 160000 --- a/JisolGameCocos/extensions/ngame +++ b/JisolGameCocos/extensions/ngame @@ -1 +1 @@ -Subproject commit ccb2f088bd74f0d011f38bcc21f6faf80e4ded4d +Subproject commit bb05b446537ccc00b5745f3af2ee2fdcca81dc09 diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/GPlayerTacticalController.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/GPlayerTacticalController.java index e753efd3..c88ad5d5 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/GPlayerTacticalController.java +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/GPlayerTacticalController.java @@ -54,7 +54,7 @@ public class GPlayerTacticalController { //设置玩家上阵 @ApiImplicitParams({}) @ApiOperation(value = "设置玩家上阵") - @GetMapping("/set") + @PostMapping("/set") public NewsContext setInfo(@CurrentPlayer Player player, @RequestBody PlayerTactical tactical){ tactical.setPlayerId(player.getPlayerId());