diff --git a/assets/resources/gui/element/talents.prefab b/assets/resources/gui/element/talents.prefab index e1dba65f..99426793 100644 --- a/assets/resources/gui/element/talents.prefab +++ b/assets/resources/gui/element/talents.prefab @@ -28,29 +28,29 @@ "__id__": 65 }, { - "__id__": 195 + "__id__": 237 }, { - "__id__": 209 + "__id__": 251 }, { - "__id__": 259 + "__id__": 301 } ], "_active": true, "_components": [ { - "__id__": 267 + "__id__": 309 }, { - "__id__": 269 + "__id__": 311 }, { - "__id__": 271 + "__id__": 313 } ], "_prefab": { - "__id__": 273 + "__id__": 315 }, "_lpos": { "__type__": "cc.Vec3", @@ -1271,23 +1271,23 @@ "__id__": 66 }, { - "__id__": 104 + "__id__": 118 }, { - "__id__": 147 + "__id__": 175 } ], "_active": true, "_components": [ { - "__id__": 190 + "__id__": 232 }, { - "__id__": 192 + "__id__": 234 } ], "_prefab": { - "__id__": 194 + "__id__": 236 }, "_lpos": { "__type__": "cc.Vec3", @@ -1331,23 +1331,26 @@ "__id__": 67 }, { - "__id__": 76 + "__id__": 78 }, { - "__id__": 84 + "__id__": 86 }, { - "__id__": 95 + "__id__": 97 + }, + { + "__id__": 103 } ], "_active": true, "_components": [ { - "__id__": 101 + "__id__": 115 } ], "_prefab": { - "__id__": 103 + "__id__": 117 }, "_lpos": { "__type__": "cc.Vec3", @@ -1427,6 +1430,9 @@ }, { "__id__": 75 + }, + { + "__id__": 76 } ], "removedComponents": [] @@ -1503,6 +1509,26 @@ ], "value": false }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 77 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 160, + "height": 54.4 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "11pqUo9t9IWYWj/LjK3fNo" + ] + }, { "__type__": "cc.Node", "_objFlags": 0, @@ -1510,14 +1536,14 @@ "__id__": 66 }, "_prefab": { - "__id__": 77 + "__id__": 79 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 76 + "__id__": 78 }, "asset": { "__uuid__": "f42da8df-b2a0-49a4-a1ce-dcfe5e62e0c8", @@ -1525,7 +1551,7 @@ }, "fileId": "b6wCk5tlZEMqEmX5Myn34Y", "instance": { - "__id__": 78 + "__id__": 80 }, "targetOverrides": null }, @@ -1538,17 +1564,17 @@ "mountedChildren": [], "mountedComponents": [], "propertyOverrides": [ - { - "__id__": 79 - }, { "__id__": 81 }, { - "__id__": 82 + "__id__": 83 }, { - "__id__": 83 + "__id__": 84 + }, + { + "__id__": 85 } ], "removedComponents": [] @@ -1556,7 +1582,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 80 + "__id__": 82 }, "propertyPath": [ "_name" @@ -1572,7 +1598,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 80 + "__id__": 82 }, "propertyPath": [ "_lpos" @@ -1587,7 +1613,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 80 + "__id__": 82 }, "propertyPath": [ "_lrot" @@ -1603,7 +1629,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 80 + "__id__": 82 }, "propertyPath": [ "_euler" @@ -1622,14 +1648,14 @@ "__id__": 66 }, "_prefab": { - "__id__": 85 + "__id__": 87 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 84 + "__id__": 86 }, "asset": { "__uuid__": "f42da8df-b2a0-49a4-a1ce-dcfe5e62e0c8", @@ -1637,7 +1663,7 @@ }, "fileId": "b6wCk5tlZEMqEmX5Myn34Y", "instance": { - "__id__": 86 + "__id__": 88 }, "targetOverrides": null }, @@ -1650,23 +1676,23 @@ "mountedChildren": [], "mountedComponents": [], "propertyOverrides": [ - { - "__id__": 87 - }, { "__id__": 89 }, - { - "__id__": 90 - }, { "__id__": 91 }, { "__id__": 92 }, + { + "__id__": 93 + }, { "__id__": 94 + }, + { + "__id__": 96 } ], "removedComponents": [] @@ -1674,7 +1700,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 88 + "__id__": 90 }, "propertyPath": [ "_name" @@ -1690,7 +1716,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 88 + "__id__": 90 }, "propertyPath": [ "_lpos" @@ -1705,7 +1731,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 88 + "__id__": 90 }, "propertyPath": [ "_lrot" @@ -1721,7 +1747,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 88 + "__id__": 90 }, "propertyPath": [ "_euler" @@ -1736,7 +1762,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 93 + "__id__": 95 }, "propertyPath": [ "_color" @@ -1758,7 +1784,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 88 + "__id__": 90 }, "propertyPath": [ "_active" @@ -1777,14 +1803,14 @@ "_active": true, "_components": [ { - "__id__": 96 + "__id__": 98 }, { - "__id__": 98 + "__id__": 100 } ], "_prefab": { - "__id__": 100 + "__id__": 102 }, "_lpos": { "__type__": "cc.Vec3", @@ -1821,11 +1847,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 95 + "__id__": 97 }, "_enabled": true, "__prefab": { - "__id__": 97 + "__id__": 99 }, "_contentSize": { "__type__": "cc.Size", @@ -1849,11 +1875,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 95 + "__id__": 97 }, "_enabled": true, "__prefab": { - "__id__": 99 + "__id__": 101 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1924,6 +1950,305 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 66 + }, + "_children": [ + { + "__id__": 104 + } + ], + "_active": true, + "_components": [ + { + "__id__": 110 + }, + { + "__id__": 112 + } + ], + "_prefab": { + "__id__": 114 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 67.093, + "y": 34.255, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 103 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 105 + }, + { + "__id__": 107 + } + ], + "_prefab": { + "__id__": 109 + }, + "_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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": { + "__id__": 106 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 20.6845703125, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f1H2xuowNEyLfmsRCUE9Xq" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": { + "__id__": 108 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "1", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "36YcFu72RDB5uCt6r9O4RZ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c0FRCsXidJ+qwXLPkFYeBS", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 103 + }, + "_enabled": true, + "__prefab": { + "__id__": 111 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 64, + "height": 66 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "acVNmp4LBFRbKOlThNg615" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 103 + }, + "_enabled": true, + "__prefab": { + "__id__": 113 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@b9538", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4cDzP5R5dI8bpMz8tb5Ci+" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "37GVYPOTxK6J9+hylamK73", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -1934,7 +2259,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 102 + "__id__": 116 }, "_contentSize": { "__type__": "cc.Size", @@ -1975,29 +2300,32 @@ }, "_children": [ { - "__id__": 105 + "__id__": 119 }, { - "__id__": 114 - }, - { - "__id__": 122 - }, - { - "__id__": 132 + "__id__": 130 }, { "__id__": 138 + }, + { + "__id__": 148 + }, + { + "__id__": 154 + }, + { + "__id__": 160 } ], "_active": true, "_components": [ { - "__id__": 144 + "__id__": 172 } ], "_prefab": { - "__id__": 146 + "__id__": 174 }, "_lpos": { "__type__": "cc.Vec3", @@ -2032,17 +2360,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 104 + "__id__": 118 }, "_prefab": { - "__id__": 106 + "__id__": 120 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 105 + "__id__": 119 }, "asset": { "__uuid__": "86a3c4cd-71c7-4502-b713-65f0ace7912a", @@ -2050,7 +2378,7 @@ }, "fileId": "d3jYvT7whFS5scQFZeO5AK", "instance": { - "__id__": 107 + "__id__": 121 }, "targetOverrides": null }, @@ -2064,19 +2392,22 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 108 + "__id__": 122 }, { - "__id__": 110 + "__id__": 124 }, { - "__id__": 111 + "__id__": 125 }, { - "__id__": 112 + "__id__": 126 }, { - "__id__": 113 + "__id__": 127 + }, + { + "__id__": 128 } ], "removedComponents": [] @@ -2084,7 +2415,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 109 + "__id__": 123 }, "propertyPath": [ "_name" @@ -2100,7 +2431,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 109 + "__id__": 123 }, "propertyPath": [ "_lpos" @@ -2115,7 +2446,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 109 + "__id__": 123 }, "propertyPath": [ "_lrot" @@ -2131,7 +2462,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 109 + "__id__": 123 }, "propertyPath": [ "_euler" @@ -2146,28 +2477,48 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 109 + "__id__": 123 }, "propertyPath": [ "_active" ], "value": false }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 129 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 160, + "height": 54.4 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "11pqUo9t9IWYWj/LjK3fNo" + ] + }, { "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 104 + "__id__": 118 }, "_prefab": { - "__id__": 115 + "__id__": 131 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 114 + "__id__": 130 }, "asset": { "__uuid__": "f42da8df-b2a0-49a4-a1ce-dcfe5e62e0c8", @@ -2175,7 +2526,7 @@ }, "fileId": "b6wCk5tlZEMqEmX5Myn34Y", "instance": { - "__id__": 116 + "__id__": 132 }, "targetOverrides": null }, @@ -2189,16 +2540,16 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 117 + "__id__": 133 }, { - "__id__": 119 + "__id__": 135 }, { - "__id__": 120 + "__id__": 136 }, { - "__id__": 121 + "__id__": 137 } ], "removedComponents": [] @@ -2206,7 +2557,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 118 + "__id__": 134 }, "propertyPath": [ "_name" @@ -2222,7 +2573,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 118 + "__id__": 134 }, "propertyPath": [ "_lpos" @@ -2237,7 +2588,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 118 + "__id__": 134 }, "propertyPath": [ "_lrot" @@ -2253,7 +2604,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 118 + "__id__": 134 }, "propertyPath": [ "_euler" @@ -2269,17 +2620,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 104 + "__id__": 118 }, "_prefab": { - "__id__": 123 + "__id__": 139 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 122 + "__id__": 138 }, "asset": { "__uuid__": "f42da8df-b2a0-49a4-a1ce-dcfe5e62e0c8", @@ -2287,7 +2638,7 @@ }, "fileId": "b6wCk5tlZEMqEmX5Myn34Y", "instance": { - "__id__": 124 + "__id__": 140 }, "targetOverrides": null }, @@ -2301,19 +2652,19 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 125 + "__id__": 141 }, { - "__id__": 127 + "__id__": 143 }, { - "__id__": 128 + "__id__": 144 }, { - "__id__": 129 + "__id__": 145 }, { - "__id__": 130 + "__id__": 146 } ], "removedComponents": [] @@ -2321,7 +2672,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 126 + "__id__": 142 }, "propertyPath": [ "_name" @@ -2337,7 +2688,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 126 + "__id__": 142 }, "propertyPath": [ "_lpos" @@ -2352,7 +2703,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 126 + "__id__": 142 }, "propertyPath": [ "_lrot" @@ -2368,7 +2719,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 126 + "__id__": 142 }, "propertyPath": [ "_euler" @@ -2383,7 +2734,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 131 + "__id__": 147 }, "propertyPath": [ "_color" @@ -2408,20 +2759,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 104 + "__id__": 118 }, "_children": [], "_active": true, "_components": [ { - "__id__": 133 + "__id__": 149 }, { - "__id__": 135 + "__id__": 151 } ], "_prefab": { - "__id__": 137 + "__id__": 153 }, "_lpos": { "__type__": "cc.Vec3", @@ -2458,11 +2809,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 132 + "__id__": 148 }, "_enabled": true, "__prefab": { - "__id__": 134 + "__id__": 150 }, "_contentSize": { "__type__": "cc.Size", @@ -2486,11 +2837,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 132 + "__id__": 148 }, "_enabled": true, "__prefab": { - "__id__": 136 + "__id__": 152 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2567,20 +2918,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 104 + "__id__": 118 }, "_children": [], "_active": true, "_components": [ { - "__id__": 139 + "__id__": 155 }, { - "__id__": 141 + "__id__": 157 } ], "_prefab": { - "__id__": 143 + "__id__": 159 }, "_lpos": { "__type__": "cc.Vec3", @@ -2617,11 +2968,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 138 + "__id__": 154 }, "_enabled": true, "__prefab": { - "__id__": 140 + "__id__": 156 }, "_contentSize": { "__type__": "cc.Size", @@ -2645,11 +2996,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 138 + "__id__": 154 }, "_enabled": true, "__prefab": { - "__id__": 142 + "__id__": 158 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2694,17 +3045,316 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 118 + }, + "_children": [ + { + "__id__": 161 + } + ], + "_active": true, + "_components": [ + { + "__id__": 167 + }, + { + "__id__": 169 + } + ], + "_prefab": { + "__id__": 171 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 67.093, + "y": 34.255, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 160 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 162 + }, + { + "__id__": 164 + } + ], + "_prefab": { + "__id__": 166 + }, + "_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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 161 }, "_enabled": true, "__prefab": { - "__id__": 145 + "__id__": 163 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 20.6845703125, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5bIiutlqtEz7BRYYjoUK5V" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 161 + }, + "_enabled": true, + "__prefab": { + "__id__": 165 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "1", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "11S/dpGLlGxIBGOwNhbv5C" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "04EyO+/UVNcKhYYNwwF0gE", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 160 + }, + "_enabled": true, + "__prefab": { + "__id__": 168 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 64, + "height": 66 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a6nJiw5URH342qm2jsBvT2" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 160 + }, + "_enabled": true, + "__prefab": { + "__id__": 170 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@b9538", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9damuqce5Oxa0xkZKdw6cP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "24rHk8OvlGw7sss08zQSZI", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 118 + }, + "_enabled": true, + "__prefab": { + "__id__": 173 }, "_contentSize": { "__type__": "cc.Size", @@ -2745,29 +3395,32 @@ }, "_children": [ { - "__id__": 148 + "__id__": 176 }, { - "__id__": 157 + "__id__": 187 }, { - "__id__": 165 + "__id__": 195 }, { - "__id__": 175 + "__id__": 205 }, { - "__id__": 181 + "__id__": 211 + }, + { + "__id__": 217 } ], "_active": true, "_components": [ { - "__id__": 187 + "__id__": 229 } ], "_prefab": { - "__id__": 189 + "__id__": 231 }, "_lpos": { "__type__": "cc.Vec3", @@ -2802,17 +3455,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 147 + "__id__": 175 }, "_prefab": { - "__id__": 149 + "__id__": 177 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 148 + "__id__": 176 }, "asset": { "__uuid__": "86a3c4cd-71c7-4502-b713-65f0ace7912a", @@ -2820,7 +3473,7 @@ }, "fileId": "d3jYvT7whFS5scQFZeO5AK", "instance": { - "__id__": 150 + "__id__": 178 }, "targetOverrides": null }, @@ -2834,19 +3487,22 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 151 + "__id__": 179 }, { - "__id__": 153 + "__id__": 181 }, { - "__id__": 154 + "__id__": 182 }, { - "__id__": 155 + "__id__": 183 }, { - "__id__": 156 + "__id__": 184 + }, + { + "__id__": 185 } ], "removedComponents": [] @@ -2854,7 +3510,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 152 + "__id__": 180 }, "propertyPath": [ "_name" @@ -2870,7 +3526,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 152 + "__id__": 180 }, "propertyPath": [ "_lpos" @@ -2885,7 +3541,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 152 + "__id__": 180 }, "propertyPath": [ "_lrot" @@ -2901,7 +3557,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 152 + "__id__": 180 }, "propertyPath": [ "_euler" @@ -2916,28 +3572,48 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 152 + "__id__": 180 }, "propertyPath": [ "_active" ], "value": false }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 186 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 160, + "height": 54.4 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "11pqUo9t9IWYWj/LjK3fNo" + ] + }, { "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 147 + "__id__": 175 }, "_prefab": { - "__id__": 158 + "__id__": 188 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 157 + "__id__": 187 }, "asset": { "__uuid__": "f42da8df-b2a0-49a4-a1ce-dcfe5e62e0c8", @@ -2945,7 +3621,7 @@ }, "fileId": "b6wCk5tlZEMqEmX5Myn34Y", "instance": { - "__id__": 159 + "__id__": 189 }, "targetOverrides": null }, @@ -2959,16 +3635,16 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 160 + "__id__": 190 }, { - "__id__": 162 + "__id__": 192 }, { - "__id__": 163 + "__id__": 193 }, { - "__id__": 164 + "__id__": 194 } ], "removedComponents": [] @@ -2976,7 +3652,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 161 + "__id__": 191 }, "propertyPath": [ "_name" @@ -2992,7 +3668,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 161 + "__id__": 191 }, "propertyPath": [ "_lpos" @@ -3007,7 +3683,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 161 + "__id__": 191 }, "propertyPath": [ "_lrot" @@ -3023,7 +3699,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 161 + "__id__": 191 }, "propertyPath": [ "_euler" @@ -3039,17 +3715,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 147 + "__id__": 175 }, "_prefab": { - "__id__": 166 + "__id__": 196 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 165 + "__id__": 195 }, "asset": { "__uuid__": "f42da8df-b2a0-49a4-a1ce-dcfe5e62e0c8", @@ -3057,7 +3733,7 @@ }, "fileId": "b6wCk5tlZEMqEmX5Myn34Y", "instance": { - "__id__": 167 + "__id__": 197 }, "targetOverrides": null }, @@ -3071,19 +3747,19 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 168 + "__id__": 198 }, { - "__id__": 170 + "__id__": 200 }, { - "__id__": 171 + "__id__": 201 }, { - "__id__": 172 + "__id__": 202 }, { - "__id__": 173 + "__id__": 203 } ], "removedComponents": [] @@ -3091,7 +3767,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 169 + "__id__": 199 }, "propertyPath": [ "_name" @@ -3107,7 +3783,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 169 + "__id__": 199 }, "propertyPath": [ "_lpos" @@ -3122,7 +3798,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 169 + "__id__": 199 }, "propertyPath": [ "_lrot" @@ -3138,7 +3814,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 169 + "__id__": 199 }, "propertyPath": [ "_euler" @@ -3153,7 +3829,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 174 + "__id__": 204 }, "propertyPath": [ "_color" @@ -3178,20 +3854,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 147 + "__id__": 175 }, "_children": [], "_active": true, "_components": [ { - "__id__": 176 + "__id__": 206 }, { - "__id__": 178 + "__id__": 208 } ], "_prefab": { - "__id__": 180 + "__id__": 210 }, "_lpos": { "__type__": "cc.Vec3", @@ -3228,11 +3904,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 175 + "__id__": 205 }, "_enabled": true, "__prefab": { - "__id__": 177 + "__id__": 207 }, "_contentSize": { "__type__": "cc.Size", @@ -3256,11 +3932,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 175 + "__id__": 205 }, "_enabled": true, "__prefab": { - "__id__": 179 + "__id__": 209 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3337,20 +4013,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 147 + "__id__": 175 }, "_children": [], "_active": true, "_components": [ { - "__id__": 182 + "__id__": 212 }, { - "__id__": 184 + "__id__": 214 } ], "_prefab": { - "__id__": 186 + "__id__": 216 }, "_lpos": { "__type__": "cc.Vec3", @@ -3387,11 +4063,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 211 }, "_enabled": true, "__prefab": { - "__id__": 183 + "__id__": 213 }, "_contentSize": { "__type__": "cc.Size", @@ -3415,11 +4091,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 211 }, "_enabled": true, "__prefab": { - "__id__": 185 + "__id__": 215 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3464,17 +4140,316 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 175 + }, + "_children": [ + { + "__id__": 218 + } + ], + "_active": true, + "_components": [ + { + "__id__": 224 + }, + { + "__id__": 226 + } + ], + "_prefab": { + "__id__": 228 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 67.093, + "y": 34.255, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 217 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 219 + }, + { + "__id__": 221 + } + ], + "_prefab": { + "__id__": 223 + }, + "_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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 147 + "__id__": 218 }, "_enabled": true, "__prefab": { - "__id__": 188 + "__id__": 220 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 20.6845703125, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "95vxuhnxRA66rk9TrO8Nwp" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 218 + }, + "_enabled": true, + "__prefab": { + "__id__": 222 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "1", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "08IdJCwNpPEbXkiYMMzXxT" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "83DyEP2HtHmo9uhM64/VWN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 217 + }, + "_enabled": true, + "__prefab": { + "__id__": 225 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 64, + "height": 66 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "04PCN48IBLpr5r831J5Ryf" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 217 + }, + "_enabled": true, + "__prefab": { + "__id__": 227 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@b9538", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "21XhpE575NDKZwS6X7VhUP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "839pCOE0xE/7lGiFjvkWPj", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 175 + }, + "_enabled": true, + "__prefab": { + "__id__": 230 }, "_contentSize": { "__type__": "cc.Size", @@ -3515,7 +4490,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 191 + "__id__": 233 }, "_contentSize": { "__type__": "cc.Size", @@ -3543,7 +4518,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 193 + "__id__": 235 }, "_resizeMode": 1, "_layoutType": 1, @@ -3594,20 +4569,20 @@ }, "_children": [ { - "__id__": 196 + "__id__": 238 } ], "_active": true, "_components": [ { - "__id__": 204 + "__id__": 246 }, { - "__id__": 206 + "__id__": 248 } ], "_prefab": { - "__id__": 208 + "__id__": 250 }, "_lpos": { "__type__": "cc.Vec3", @@ -3644,23 +4619,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 195 + "__id__": 237 }, "_children": [], "_active": true, "_components": [ { - "__id__": 197 + "__id__": 239 }, { - "__id__": 199 + "__id__": 241 }, { - "__id__": 201 + "__id__": 243 } ], "_prefab": { - "__id__": 203 + "__id__": 245 }, "_lpos": { "__type__": "cc.Vec3", @@ -3697,11 +4672,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 238 }, "_enabled": true, "__prefab": { - "__id__": 198 + "__id__": 240 }, "_contentSize": { "__type__": "cc.Size", @@ -3725,11 +4700,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 238 }, "_enabled": true, "__prefab": { - "__id__": 200 + "__id__": 242 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3770,11 +4745,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 238 }, "_enabled": true, "__prefab": { - "__id__": 202 + "__id__": 244 }, "_alignFlags": 45, "_target": null, @@ -3819,11 +4794,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 195 + "__id__": 237 }, "_enabled": true, "__prefab": { - "__id__": 205 + "__id__": 247 }, "_contentSize": { "__type__": "cc.Size", @@ -3847,11 +4822,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 195 + "__id__": 237 }, "_enabled": true, "__prefab": { - "__id__": 207 + "__id__": 249 }, "_alignFlags": 41, "_target": null, @@ -3900,29 +4875,29 @@ }, "_children": [ { - "__id__": 210 + "__id__": 252 }, { - "__id__": 222 + "__id__": 264 }, { - "__id__": 240 + "__id__": 282 } ], "_active": true, "_components": [ { - "__id__": 252 + "__id__": 294 }, { - "__id__": 254 + "__id__": 296 }, { - "__id__": 256 + "__id__": 298 } ], "_prefab": { - "__id__": 258 + "__id__": 300 }, "_lpos": { "__type__": "cc.Vec3", @@ -3959,24 +4934,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 209 + "__id__": 251 }, "_children": [ { - "__id__": 211 + "__id__": 253 } ], "_active": true, "_components": [ { - "__id__": 217 + "__id__": 259 }, { - "__id__": 219 + "__id__": 261 } ], "_prefab": { - "__id__": 221 + "__id__": 263 }, "_lpos": { "__type__": "cc.Vec3", @@ -4013,20 +4988,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 210 + "__id__": 252 }, "_children": [], "_active": true, "_components": [ { - "__id__": 212 + "__id__": 254 }, { - "__id__": 214 + "__id__": 256 } ], "_prefab": { - "__id__": 216 + "__id__": 258 }, "_lpos": { "__type__": "cc.Vec3", @@ -4063,11 +5038,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 211 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 213 + "__id__": 255 }, "_contentSize": { "__type__": "cc.Size", @@ -4091,11 +5066,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 211 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 215 + "__id__": 257 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4172,11 +5147,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 210 + "__id__": 252 }, "_enabled": true, "__prefab": { - "__id__": 218 + "__id__": 260 }, "_contentSize": { "__type__": "cc.Size", @@ -4200,11 +5175,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 210 + "__id__": 252 }, "_enabled": true, "__prefab": { - "__id__": 220 + "__id__": 262 }, "_alignFlags": 32, "_target": null, @@ -4249,21 +5224,21 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 209 + "__id__": 251 }, "_children": [ { - "__id__": 223 + "__id__": 265 } ], "_active": true, "_components": [ { - "__id__": 237 + "__id__": 279 } ], "_prefab": { - "__id__": 239 + "__id__": 281 }, "_lpos": { "__type__": "cc.Vec3", @@ -4300,27 +5275,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 222 + "__id__": 264 }, "_children": [ { - "__id__": 224 + "__id__": 266 } ], "_active": true, "_components": [ { - "__id__": 230 + "__id__": 272 }, { - "__id__": 232 + "__id__": 274 }, { - "__id__": 234 + "__id__": 276 } ], "_prefab": { - "__id__": 236 + "__id__": 278 }, "_lpos": { "__type__": "cc.Vec3", @@ -4357,20 +5332,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 223 + "__id__": 265 }, "_children": [], "_active": true, "_components": [ { - "__id__": 225 + "__id__": 267 }, { - "__id__": 227 + "__id__": 269 } ], "_prefab": { - "__id__": 229 + "__id__": 271 }, "_lpos": { "__type__": "cc.Vec3", @@ -4407,11 +5382,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 224 + "__id__": 266 }, "_enabled": true, "__prefab": { - "__id__": 226 + "__id__": 268 }, "_contentSize": { "__type__": "cc.Size", @@ -4435,11 +5410,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 224 + "__id__": 266 }, "_enabled": true, "__prefab": { - "__id__": 228 + "__id__": 270 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4496,11 +5471,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 265 }, "_enabled": true, "__prefab": { - "__id__": 231 + "__id__": 273 }, "_contentSize": { "__type__": "cc.Size", @@ -4524,11 +5499,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 265 }, "_enabled": true, "__prefab": { - "__id__": 233 + "__id__": 275 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4572,14 +5547,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 265 }, "_enabled": true, "__prefab": { - "__id__": 235 + "__id__": 277 }, "_barSprite": { - "__id__": 227 + "__id__": 269 }, "_mode": 0, "_totalLength": 800, @@ -4610,11 +5585,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 222 + "__id__": 264 }, "_enabled": true, "__prefab": { - "__id__": 238 + "__id__": 280 }, "_contentSize": { "__type__": "cc.Size", @@ -4651,24 +5626,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 209 + "__id__": 251 }, "_children": [ { - "__id__": 241 + "__id__": 283 } ], "_active": true, "_components": [ { - "__id__": 247 + "__id__": 289 }, { - "__id__": 249 + "__id__": 291 } ], "_prefab": { - "__id__": 251 + "__id__": 293 }, "_lpos": { "__type__": "cc.Vec3", @@ -4705,20 +5680,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 240 + "__id__": 282 }, "_children": [], "_active": true, "_components": [ { - "__id__": 242 + "__id__": 284 }, { - "__id__": 244 + "__id__": 286 } ], "_prefab": { - "__id__": 246 + "__id__": 288 }, "_lpos": { "__type__": "cc.Vec3", @@ -4755,11 +5730,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 241 + "__id__": 283 }, "_enabled": true, "__prefab": { - "__id__": 243 + "__id__": 285 }, "_contentSize": { "__type__": "cc.Size", @@ -4783,11 +5758,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 241 + "__id__": 283 }, "_enabled": true, "__prefab": { - "__id__": 245 + "__id__": 287 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4864,11 +5839,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 240 + "__id__": 282 }, "_enabled": true, "__prefab": { - "__id__": 248 + "__id__": 290 }, "_contentSize": { "__type__": "cc.Size", @@ -4892,11 +5867,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 240 + "__id__": 282 }, "_enabled": true, "__prefab": { - "__id__": 250 + "__id__": 292 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4953,11 +5928,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 209 + "__id__": 251 }, "_enabled": true, "__prefab": { - "__id__": 253 + "__id__": 295 }, "_contentSize": { "__type__": "cc.Size", @@ -4981,11 +5956,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 209 + "__id__": 251 }, "_enabled": false, "__prefab": { - "__id__": 255 + "__id__": 297 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5026,11 +6001,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 209 + "__id__": 251 }, "_enabled": true, "__prefab": { - "__id__": 257 + "__id__": 299 }, "_alignFlags": 41, "_target": null, @@ -5081,17 +6056,17 @@ "_active": true, "_components": [ { - "__id__": 260 + "__id__": 302 }, { - "__id__": 262 + "__id__": 304 }, { - "__id__": 264 + "__id__": 306 } ], "_prefab": { - "__id__": 266 + "__id__": 308 }, "_lpos": { "__type__": "cc.Vec3", @@ -5128,11 +6103,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 259 + "__id__": 301 }, "_enabled": true, "__prefab": { - "__id__": 261 + "__id__": 303 }, "_contentSize": { "__type__": "cc.Size", @@ -5156,11 +6131,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 259 + "__id__": 301 }, "_enabled": true, "__prefab": { - "__id__": 263 + "__id__": 305 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5224,11 +6199,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 259 + "__id__": 301 }, "_enabled": true, "__prefab": { - "__id__": 265 + "__id__": 307 }, "_alignFlags": 9, "_target": null, @@ -5277,7 +6252,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 268 + "__id__": 310 }, "_contentSize": { "__type__": "cc.Size", @@ -5305,7 +6280,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 270 + "__id__": 312 }, "_alignFlags": 45, "_target": null, @@ -5341,7 +6316,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 272 + "__id__": 314 }, "talents_content": { "__id__": 39 @@ -5351,31 +6326,40 @@ "__expectedType__": "cc.Prefab" }, "lbl_points": { - "__id__": 214 + "__id__": 256 }, "lbl_lv": { - "__id__": 244 + "__id__": 286 }, "progress_exp": { - "__id__": 234 + "__id__": 276 }, "tab_basic": { "__id__": 66 }, "tab_special": { - "__id__": 104 + "__id__": 118 }, "tab_super": { - "__id__": 147 + "__id__": 175 }, "lbl_tab_basic": { - "__id__": 98 + "__id__": 100 }, "lbl_tab_special": { - "__id__": 135 + "__id__": 151 }, "lbl_tab_super": { - "__id__": 178 + "__id__": 208 + }, + "lbl_invest_basic": { + "__id__": 107 + }, + "lbl_invest_special": { + "__id__": 164 + }, + "lbl_invest_super": { + "__id__": 221 }, "btn_reset": null, "_id": "" @@ -5397,28 +6381,28 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": [ { - "__id__": 165 + "__id__": 195 }, { - "__id__": 157 + "__id__": 187 }, { - "__id__": 148 + "__id__": 176 }, { - "__id__": 122 + "__id__": 138 }, { - "__id__": 114 + "__id__": 130 }, { - "__id__": 105 + "__id__": 119 }, { - "__id__": 84 + "__id__": 86 }, { - "__id__": 76 + "__id__": 78 }, { "__id__": 67 diff --git a/assets/script/game/map/TalentsComp.ts b/assets/script/game/map/TalentsComp.ts index 4c7f9c34..fac607a2 100644 --- a/assets/script/game/map/TalentsComp.ts +++ b/assets/script/game/map/TalentsComp.ts @@ -30,11 +30,11 @@ import { oops } from "db://oops-framework/core/Oops"; const { ccclass, property } = _decorator; -/** 阶位页签展示文案(锁定态追加投入进度) */ +/** 阶位页签展示文案(lockName 用于未解锁提示) */ const TIER_TAB_TEXT: Record = { - [TalentTier.Basic]: { title: "Ⅰ 基础", lockName: "一阶" }, - [TalentTier.Specialized]: { title: "Ⅱ 专精", lockName: "一阶" }, - [TalentTier.Super]: { title: "Ⅲ 超强", lockName: "二阶" }, + [TalentTier.Basic]: { title: "基础天赋", lockName: "基础天赋" }, + [TalentTier.Specialized]: { title: "专精天赋", lockName: "基础天赋" }, + [TalentTier.Super]: { title: "传说天赋", lockName: "专精天赋" }, }; /** 阶位页签选中高亮子节点名(可选,编辑器侧搭建) */ @@ -87,6 +87,15 @@ export class TalentsComp extends CCComp { @property({ type: Label, tooltip: "三阶页签文案" }) lbl_tab_super: Label = null!; + @property({ type: Label, tooltip: "一阶已投入点数" }) + lbl_invest_basic: Label = null!; + + @property({ type: Label, tooltip: "二阶已投入点数" }) + lbl_invest_special: Label = null!; + + @property({ type: Label, tooltip: "三阶已投入点数" }) + lbl_invest_super: Label = null!; + @property({ type: Node, tooltip: "看广告重置按钮" }) btn_reset: Node = null!; @@ -96,13 +105,13 @@ export class TalentsComp extends CCComp { /** 是否已完成首次默认阶位选择 */ private inited: boolean = false; - /** 阶位 → 页签节点/文案/气泡 映射(onLoad 时装配) */ - private tabNodes: Map = new Map(); + /** 阶位 → 页签节点/文案/投入点数/气泡 映射(onLoad 时装配) */ + private tabNodes: Map = new Map(); protected onLoad(): void { - this.tabNodes.set(TalentTier.Basic, { node: this.tab_basic, label: this.lbl_tab_basic, tip: this.getSmallTip(this.tab_basic) }); - this.tabNodes.set(TalentTier.Specialized, { node: this.tab_special, label: this.lbl_tab_special, tip: this.getSmallTip(this.tab_special) }); - this.tabNodes.set(TalentTier.Super, { node: this.tab_super, label: this.lbl_tab_super, tip: this.getSmallTip(this.tab_super) }); + this.tabNodes.set(TalentTier.Basic, { node: this.tab_basic, label: this.lbl_tab_basic, invest: this.lbl_invest_basic, tip: this.getSmallTip(this.tab_basic) }); + this.tabNodes.set(TalentTier.Specialized, { node: this.tab_special, label: this.lbl_tab_special, invest: this.lbl_invest_special, tip: this.getSmallTip(this.tab_special) }); + this.tabNodes.set(TalentTier.Super, { node: this.tab_super, label: this.lbl_tab_super, invest: this.lbl_invest_super, tip: this.getSmallTip(this.tab_super) }); for (const [tier, tab] of this.tabNodes) { tab.node?.on(NodeEventType.TOUCH_END, () => this.selectTier(tier), this); @@ -163,19 +172,14 @@ export class TalentsComp extends CCComp { this.refreshGrid(levels); } - /** 页签文案 + 解锁进度 + 选中高亮(sp_on)+ 锁定图标(locked)+ 未选中态(noactive) */ + /** 页签文案 + 各阶已投入点数 + 选中高亮(sp_on)+ 锁定图标(locked)+ 未选中态(noactive) */ private refreshTabs(levels: Record): void { for (const [tier, tab] of this.tabNodes) { const text = TIER_TAB_TEXT[tier]; const unlocked = isTalentTierUnlocked(levels, tier); - if (tab.label) { - if (unlocked) { - tab.label.string = text.title; - } else { - const invested = getTalentTierInvestedPoints(levels, (tier - 1) as TalentTier); - tab.label.string = `${text.title} ${invested}/${TALENT_TIER_UNLOCK_THRESHOLD}`; - } - } + if (tab.label) tab.label.string = text.title; + // 各阶已投入点数(该阶所有天赋等级之和) + if (tab.invest) tab.invest.string = `${getTalentTierInvestedPoints(levels, tier)}`; // 锁定图标:该阶未解锁时显示,解锁后隐藏(一阶恒解锁,节点可缺省) const locked = tab.node?.getChildByName(TAB_LOCKED_CHILD); if (locked) locked.active = !unlocked; @@ -248,7 +252,7 @@ export class TalentsComp extends CCComp { const tab = this.tabNodes.get(cfg.tier); if (!isTalentTierUnlocked(levels, cfg.tier)) { const invested = getTalentTierInvestedPoints(levels, (cfg.tier - 1) as TalentTier); - this.showSmallTip(tab?.node ?? null, `${TIER_TAB_TEXT[cfg.tier].lockName}投入 ${invested}/${TALENT_TIER_UNLOCK_THRESHOLD} 点解锁本阶`); + this.showSmallTip(tab?.node ?? null, `${TIER_TAB_TEXT[cfg.tier].lockName}投入${TALENT_TIER_UNLOCK_THRESHOLD} 点解锁`); return; } const lv = smc.getTalentLv(uuid);