diff --git a/assets/resources/gui/element/heros.prefab b/assets/resources/gui/element/heros.prefab index 9dfdb008..6b7e552a 100644 --- a/assets/resources/gui/element/heros.prefab +++ b/assets/resources/gui/element/heros.prefab @@ -25,23 +25,23 @@ "__id__": 12 }, { - "__id__": 293 + "__id__": 295 } ], "_active": true, "_components": [ - { - "__id__": 343 - }, { "__id__": 345 }, { "__id__": 347 + }, + { + "__id__": 349 } ], "_prefab": { - "__id__": 349 + "__id__": 351 }, "_lpos": { "__type__": "cc.Vec3", @@ -287,23 +287,23 @@ "__id__": 21 }, { - "__id__": 162 + "__id__": 164 }, { - "__id__": 266 + "__id__": 268 } ], "_active": true, "_components": [ { - "__id__": 288 + "__id__": 290 }, { - "__id__": 290 + "__id__": 292 } ], "_prefab": { - "__id__": 292 + "__id__": 294 }, "_lpos": { "__type__": "cc.Vec3", @@ -537,11 +537,11 @@ "_active": true, "_components": [ { - "__id__": 159 + "__id__": 161 } ], "_prefab": { - "__id__": 161 + "__id__": 163 }, "_lpos": { "__type__": "cc.Vec3", @@ -3130,6 +3130,9 @@ }, { "__id__": 158 + }, + { + "__id__": 159 } ], "removedComponents": [] @@ -3408,6 +3411,22 @@ ], "value": -40.994 }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 160 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "4d8lwMrctFq4mRNVU1cDrV" + ] + }, { "__type__": "cc.UITransform", "_name": "", @@ -3418,7 +3437,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 160 + "__id__": 162 }, "_contentSize": { "__type__": "cc.Size", @@ -3459,29 +3478,29 @@ }, "_children": [ { - "__id__": 163 + "__id__": 165 }, { - "__id__": 191 + "__id__": 193 }, { - "__id__": 225 + "__id__": 227 } ], "_active": true, "_components": [ - { - "__id__": 259 - }, { "__id__": 261 }, { "__id__": 263 + }, + { + "__id__": 265 } ], "_prefab": { - "__id__": 265 + "__id__": 267 }, "_lpos": { "__type__": "cc.Vec3", @@ -3518,33 +3537,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 162 + "__id__": 164 }, "_children": [ { - "__id__": 164 + "__id__": 166 }, { - "__id__": 172 + "__id__": 174 }, { - "__id__": 178 + "__id__": 180 } ], "_active": true, "_components": [ - { - "__id__": 184 - }, { "__id__": 186 }, { "__id__": 188 + }, + { + "__id__": 190 } ], "_prefab": { - "__id__": 190 + "__id__": 192 }, "_lpos": { "__type__": "cc.Vec3", @@ -3581,23 +3600,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 163 + "__id__": 165 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 165 - }, { "__id__": 167 }, { "__id__": 169 + }, + { + "__id__": 171 } ], "_prefab": { - "__id__": 171 + "__id__": 173 }, "_lpos": { "__type__": "cc.Vec3", @@ -3634,11 +3653,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 164 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 166 + "__id__": 168 }, "_contentSize": { "__type__": "cc.Size", @@ -3662,11 +3681,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 164 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 168 + "__id__": 170 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3710,11 +3729,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 164 + "__id__": 166 }, "_enabled": true, "__prefab": { - "__id__": 170 + "__id__": 172 }, "_alignFlags": 45, "_target": null, @@ -3759,20 +3778,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 163 + "__id__": 165 }, "_children": [], "_active": true, "_components": [ { - "__id__": 173 + "__id__": 175 }, { - "__id__": 175 + "__id__": 177 } ], "_prefab": { - "__id__": 177 + "__id__": 179 }, "_lpos": { "__type__": "cc.Vec3", @@ -3809,11 +3828,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 172 + "__id__": 174 }, "_enabled": true, "__prefab": { - "__id__": 174 + "__id__": 176 }, "_contentSize": { "__type__": "cc.Size", @@ -3837,11 +3856,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 172 + "__id__": 174 }, "_enabled": true, "__prefab": { - "__id__": 176 + "__id__": 178 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3898,20 +3917,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 163 + "__id__": 165 }, "_children": [], "_active": true, "_components": [ { - "__id__": 179 + "__id__": 181 }, { - "__id__": 181 + "__id__": 183 } ], "_prefab": { - "__id__": 183 + "__id__": 185 }, "_lpos": { "__type__": "cc.Vec3", @@ -3948,11 +3967,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 180 }, "_enabled": true, "__prefab": { - "__id__": 180 + "__id__": 182 }, "_contentSize": { "__type__": "cc.Size", @@ -3976,11 +3995,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 180 }, "_enabled": true, "__prefab": { - "__id__": 182 + "__id__": 184 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4057,11 +4076,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 163 + "__id__": 165 }, "_enabled": true, "__prefab": { - "__id__": 185 + "__id__": 187 }, "_contentSize": { "__type__": "cc.Size", @@ -4085,11 +4104,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 163 + "__id__": 165 }, "_enabled": false, "__prefab": { - "__id__": 187 + "__id__": 189 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4130,11 +4149,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 163 + "__id__": 165 }, "_enabled": false, "__prefab": { - "__id__": 189 + "__id__": 191 }, "_alignFlags": 44, "_target": null, @@ -4179,36 +4198,36 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 162 + "__id__": 164 }, "_children": [ { - "__id__": 192 + "__id__": 194 }, { - "__id__": 200 + "__id__": 202 }, { - "__id__": 206 + "__id__": 208 }, { - "__id__": 212 + "__id__": 214 } ], "_active": true, "_components": [ - { - "__id__": 218 - }, { "__id__": 220 }, { "__id__": 222 + }, + { + "__id__": 224 } ], "_prefab": { - "__id__": 224 + "__id__": 226 }, "_lpos": { "__type__": "cc.Vec3", @@ -4245,23 +4264,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 191 + "__id__": 193 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 193 - }, { "__id__": 195 }, { "__id__": 197 + }, + { + "__id__": 199 } ], "_prefab": { - "__id__": 199 + "__id__": 201 }, "_lpos": { "__type__": "cc.Vec3", @@ -4298,11 +4317,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 192 + "__id__": 194 }, "_enabled": true, "__prefab": { - "__id__": 194 + "__id__": 196 }, "_contentSize": { "__type__": "cc.Size", @@ -4326,11 +4345,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 192 + "__id__": 194 }, "_enabled": true, "__prefab": { - "__id__": 196 + "__id__": 198 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4374,11 +4393,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 192 + "__id__": 194 }, "_enabled": true, "__prefab": { - "__id__": 198 + "__id__": 200 }, "_alignFlags": 45, "_target": null, @@ -4423,20 +4442,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 191 + "__id__": 193 }, "_children": [], "_active": true, "_components": [ { - "__id__": 201 + "__id__": 203 }, { - "__id__": 203 + "__id__": 205 } ], "_prefab": { - "__id__": 205 + "__id__": 207 }, "_lpos": { "__type__": "cc.Vec3", @@ -4473,11 +4492,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 200 + "__id__": 202 }, "_enabled": true, "__prefab": { - "__id__": 202 + "__id__": 204 }, "_contentSize": { "__type__": "cc.Size", @@ -4501,11 +4520,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 200 + "__id__": 202 }, "_enabled": true, "__prefab": { - "__id__": 204 + "__id__": 206 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4562,20 +4581,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 191 + "__id__": 193 }, "_children": [], "_active": true, "_components": [ { - "__id__": 207 + "__id__": 209 }, { - "__id__": 209 + "__id__": 211 } ], "_prefab": { - "__id__": 211 + "__id__": 213 }, "_lpos": { "__type__": "cc.Vec3", @@ -4612,11 +4631,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 206 + "__id__": 208 }, "_enabled": true, "__prefab": { - "__id__": 208 + "__id__": 210 }, "_contentSize": { "__type__": "cc.Size", @@ -4640,11 +4659,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 206 + "__id__": 208 }, "_enabled": true, "__prefab": { - "__id__": 210 + "__id__": 212 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4721,20 +4740,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 191 + "__id__": 193 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { - "__id__": 213 + "__id__": 215 }, { - "__id__": 215 + "__id__": 217 } ], "_prefab": { - "__id__": 217 + "__id__": 219 }, "_lpos": { "__type__": "cc.Vec3", @@ -4771,11 +4790,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 214 }, "_enabled": true, "__prefab": { - "__id__": 214 + "__id__": 216 }, "_contentSize": { "__type__": "cc.Size", @@ -4799,11 +4818,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 214 }, "_enabled": true, "__prefab": { - "__id__": 216 + "__id__": 218 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4880,11 +4899,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 191 + "__id__": 193 }, "_enabled": true, "__prefab": { - "__id__": 219 + "__id__": 221 }, "_contentSize": { "__type__": "cc.Size", @@ -4908,11 +4927,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 191 + "__id__": 193 }, "_enabled": false, "__prefab": { - "__id__": 221 + "__id__": 223 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4953,11 +4972,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 191 + "__id__": 193 }, "_enabled": false, "__prefab": { - "__id__": 223 + "__id__": 225 }, "_alignFlags": 44, "_target": null, @@ -5002,36 +5021,36 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 162 + "__id__": 164 }, "_children": [ { - "__id__": 226 + "__id__": 228 }, { - "__id__": 234 + "__id__": 236 }, { - "__id__": 240 + "__id__": 242 }, { - "__id__": 246 + "__id__": 248 } ], "_active": true, "_components": [ - { - "__id__": 252 - }, { "__id__": 254 }, { "__id__": 256 + }, + { + "__id__": 258 } ], "_prefab": { - "__id__": 258 + "__id__": 260 }, "_lpos": { "__type__": "cc.Vec3", @@ -5068,23 +5087,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 225 + "__id__": 227 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 227 - }, { "__id__": 229 }, { "__id__": 231 + }, + { + "__id__": 233 } ], "_prefab": { - "__id__": 233 + "__id__": 235 }, "_lpos": { "__type__": "cc.Vec3", @@ -5121,11 +5140,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 226 + "__id__": 228 }, "_enabled": true, "__prefab": { - "__id__": 228 + "__id__": 230 }, "_contentSize": { "__type__": "cc.Size", @@ -5149,11 +5168,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 226 + "__id__": 228 }, "_enabled": true, "__prefab": { - "__id__": 230 + "__id__": 232 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5197,11 +5216,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 226 + "__id__": 228 }, "_enabled": true, "__prefab": { - "__id__": 232 + "__id__": 234 }, "_alignFlags": 45, "_target": null, @@ -5246,20 +5265,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 225 + "__id__": 227 }, "_children": [], "_active": true, "_components": [ { - "__id__": 235 + "__id__": 237 }, { - "__id__": 237 + "__id__": 239 } ], "_prefab": { - "__id__": 239 + "__id__": 241 }, "_lpos": { "__type__": "cc.Vec3", @@ -5296,11 +5315,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 234 + "__id__": 236 }, "_enabled": true, "__prefab": { - "__id__": 236 + "__id__": 238 }, "_contentSize": { "__type__": "cc.Size", @@ -5324,11 +5343,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 234 + "__id__": 236 }, "_enabled": true, "__prefab": { - "__id__": 238 + "__id__": 240 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5382,20 +5401,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 225 + "__id__": 227 }, "_children": [], "_active": true, "_components": [ { - "__id__": 241 + "__id__": 243 }, { - "__id__": 243 + "__id__": 245 } ], "_prefab": { - "__id__": 245 + "__id__": 247 }, "_lpos": { "__type__": "cc.Vec3", @@ -5432,11 +5451,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 240 + "__id__": 242 }, "_enabled": true, "__prefab": { - "__id__": 242 + "__id__": 244 }, "_contentSize": { "__type__": "cc.Size", @@ -5460,11 +5479,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 240 + "__id__": 242 }, "_enabled": true, "__prefab": { - "__id__": 244 + "__id__": 246 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5541,20 +5560,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 225 + "__id__": 227 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { - "__id__": 247 + "__id__": 249 }, { - "__id__": 249 + "__id__": 251 } ], "_prefab": { - "__id__": 251 + "__id__": 253 }, "_lpos": { "__type__": "cc.Vec3", @@ -5591,11 +5610,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 246 + "__id__": 248 }, "_enabled": true, "__prefab": { - "__id__": 248 + "__id__": 250 }, "_contentSize": { "__type__": "cc.Size", @@ -5619,11 +5638,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 246 + "__id__": 248 }, "_enabled": true, "__prefab": { - "__id__": 250 + "__id__": 252 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5700,11 +5719,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 225 + "__id__": 227 }, "_enabled": true, "__prefab": { - "__id__": 253 + "__id__": 255 }, "_contentSize": { "__type__": "cc.Size", @@ -5728,11 +5747,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 225 + "__id__": 227 }, "_enabled": false, "__prefab": { - "__id__": 255 + "__id__": 257 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5773,11 +5792,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 225 + "__id__": 227 }, "_enabled": false, "__prefab": { - "__id__": 257 + "__id__": 259 }, "_alignFlags": 44, "_target": null, @@ -5822,11 +5841,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 164 }, "_enabled": true, "__prefab": { - "__id__": 260 + "__id__": 262 }, "_contentSize": { "__type__": "cc.Size", @@ -5850,11 +5869,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 164 }, "_enabled": true, "__prefab": { - "__id__": 262 + "__id__": 264 }, "_alignFlags": 0, "_target": null, @@ -5886,11 +5905,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 164 }, "_enabled": true, "__prefab": { - "__id__": 264 + "__id__": 266 }, "_resizeMode": 1, "_layoutType": 3, @@ -5941,26 +5960,26 @@ }, "_children": [ { - "__id__": 267 + "__id__": 269 }, { - "__id__": 275 + "__id__": 277 } ], "_active": true, "_components": [ - { - "__id__": 281 - }, { "__id__": 283 }, { "__id__": 285 + }, + { + "__id__": 287 } ], "_prefab": { - "__id__": 287 + "__id__": 289 }, "_lpos": { "__type__": "cc.Vec3", @@ -5997,23 +6016,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 266 + "__id__": 268 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 268 - }, { "__id__": 270 }, { "__id__": 272 + }, + { + "__id__": 274 } ], "_prefab": { - "__id__": 274 + "__id__": 276 }, "_lpos": { "__type__": "cc.Vec3", @@ -6050,11 +6069,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 267 + "__id__": 269 }, "_enabled": true, "__prefab": { - "__id__": 269 + "__id__": 271 }, "_contentSize": { "__type__": "cc.Size", @@ -6078,11 +6097,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 267 + "__id__": 269 }, "_enabled": true, "__prefab": { - "__id__": 271 + "__id__": 273 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6126,11 +6145,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 267 + "__id__": 269 }, "_enabled": true, "__prefab": { - "__id__": 273 + "__id__": 275 }, "_alignFlags": 45, "_target": null, @@ -6175,20 +6194,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 266 + "__id__": 268 }, "_children": [], "_active": true, "_components": [ { - "__id__": 276 + "__id__": 278 }, { - "__id__": 278 + "__id__": 280 } ], "_prefab": { - "__id__": 280 + "__id__": 282 }, "_lpos": { "__type__": "cc.Vec3", @@ -6225,11 +6244,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 275 + "__id__": 277 }, "_enabled": true, "__prefab": { - "__id__": 277 + "__id__": 279 }, "_contentSize": { "__type__": "cc.Size", @@ -6253,11 +6272,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 275 + "__id__": 277 }, "_enabled": true, "__prefab": { - "__id__": 279 + "__id__": 281 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6334,11 +6353,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 266 + "__id__": 268 }, "_enabled": true, "__prefab": { - "__id__": 282 + "__id__": 284 }, "_contentSize": { "__type__": "cc.Size", @@ -6362,11 +6381,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 266 + "__id__": 268 }, "_enabled": true, "__prefab": { - "__id__": 284 + "__id__": 286 }, "_alignFlags": 0, "_target": null, @@ -6398,11 +6417,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 266 + "__id__": 268 }, "_enabled": false, "__prefab": { - "__id__": 286 + "__id__": 288 }, "_resizeMode": 1, "_layoutType": 3, @@ -6453,7 +6472,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 289 + "__id__": 291 }, "_contentSize": { "__type__": "cc.Size", @@ -6481,7 +6500,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 291 + "__id__": 293 }, "_alignFlags": 41, "_target": null, @@ -6530,20 +6549,20 @@ }, "_children": [ { - "__id__": 294 + "__id__": 296 } ], "_active": true, "_components": [ { - "__id__": 338 + "__id__": 340 }, { - "__id__": 340 + "__id__": 342 } ], "_prefab": { - "__id__": 342 + "__id__": 344 }, "_lpos": { "__type__": "cc.Vec3", @@ -6580,33 +6599,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 293 + "__id__": 295 }, "_children": [ { - "__id__": 295 + "__id__": 297 }, { - "__id__": 313 + "__id__": 315 } ], "_active": true, "_components": [ - { - "__id__": 331 - }, { "__id__": 333 }, { - "__id__": 310 + "__id__": 335 }, { - "__id__": 335 + "__id__": 312 + }, + { + "__id__": 337 } ], "_prefab": { - "__id__": 337 + "__id__": 339 }, "_lpos": { "__type__": "cc.Vec3", @@ -6643,18 +6662,15 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 294 + "__id__": 296 }, "_children": [ { - "__id__": 296 + "__id__": 298 } ], "_active": false, "_components": [ - { - "__id__": 302 - }, { "__id__": 304 }, @@ -6663,10 +6679,13 @@ }, { "__id__": 308 + }, + { + "__id__": 310 } ], "_prefab": { - "__id__": 330 + "__id__": 332 }, "_lpos": { "__type__": "cc.Vec3", @@ -6703,20 +6722,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 295 + "__id__": 297 }, "_children": [], "_active": true, "_components": [ { - "__id__": 297 + "__id__": 299 }, { - "__id__": 299 + "__id__": 301 } ], "_prefab": { - "__id__": 301 + "__id__": 303 }, "_lpos": { "__type__": "cc.Vec3", @@ -6753,11 +6772,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 296 + "__id__": 298 }, "_enabled": true, "__prefab": { - "__id__": 298 + "__id__": 300 }, "_contentSize": { "__type__": "cc.Size", @@ -6781,11 +6800,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 296 + "__id__": 298 }, "_enabled": true, "__prefab": { - "__id__": 300 + "__id__": 302 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6839,11 +6858,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 295 + "__id__": 297 }, "_enabled": true, "__prefab": { - "__id__": 303 + "__id__": 305 }, "_contentSize": { "__type__": "cc.Size", @@ -6867,11 +6886,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 295 + "__id__": 297 }, "_enabled": true, "__prefab": { - "__id__": 305 + "__id__": 307 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6912,11 +6931,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 295 + "__id__": 297 }, "_enabled": true, "__prefab": { - "__id__": 307 + "__id__": 309 }, "_alignFlags": 37, "_target": null, @@ -6948,17 +6967,17 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 295 + "__id__": 297 }, "_enabled": true, "__prefab": { - "__id__": 309 + "__id__": 311 }, "_scrollView": { - "__id__": 310 + "__id__": 312 }, "_handle": { - "__id__": 299 + "__id__": 301 }, "_direction": 1, "_enableAutoHide": false, @@ -6975,11 +6994,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 296 }, "_enabled": true, "__prefab": { - "__id__": 311 + "__id__": 313 }, "bounceDuration": 0.23, "brake": 0.75, @@ -6990,11 +7009,11 @@ "cancelInnerEvents": true, "scrollEvents": [], "_content": { - "__id__": 312 + "__id__": 314 }, "_horizontalScrollBar": null, "_verticalScrollBar": { - "__id__": 308 + "__id__": 310 }, "_id": "" }, @@ -7008,23 +7027,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 313 + "__id__": 315 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 323 - }, { "__id__": 325 }, { "__id__": 327 + }, + { + "__id__": 329 } ], "_prefab": { - "__id__": 329 + "__id__": 331 }, "_lpos": { "__type__": "cc.Vec3", @@ -7061,18 +7080,15 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 294 + "__id__": 296 }, "_children": [ { - "__id__": 312 + "__id__": 314 } ], "_active": true, "_components": [ - { - "__id__": 314 - }, { "__id__": 316 }, @@ -7081,10 +7097,13 @@ }, { "__id__": 320 + }, + { + "__id__": 322 } ], "_prefab": { - "__id__": 322 + "__id__": 324 }, "_lpos": { "__type__": "cc.Vec3", @@ -7121,11 +7140,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 313 + "__id__": 315 }, "_enabled": true, "__prefab": { - "__id__": 315 + "__id__": 317 }, "_contentSize": { "__type__": "cc.Size", @@ -7149,11 +7168,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 313 + "__id__": 315 }, "_enabled": true, "__prefab": { - "__id__": 317 + "__id__": 319 }, "_type": 0, "_inverted": false, @@ -7171,11 +7190,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 313 + "__id__": 315 }, "_enabled": true, "__prefab": { - "__id__": 319 + "__id__": 321 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7217,11 +7236,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 313 + "__id__": 315 }, "_enabled": true, "__prefab": { - "__id__": 321 + "__id__": 323 }, "_alignFlags": 45, "_target": null, @@ -7266,11 +7285,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 312 + "__id__": 314 }, "_enabled": true, "__prefab": { - "__id__": 324 + "__id__": 326 }, "_contentSize": { "__type__": "cc.Size", @@ -7294,11 +7313,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 312 + "__id__": 314 }, "_enabled": true, "__prefab": { - "__id__": 326 + "__id__": 328 }, "_alignFlags": 41, "_target": null, @@ -7330,11 +7349,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 312 + "__id__": 314 }, "_enabled": true, "__prefab": { - "__id__": 328 + "__id__": 330 }, "_resizeMode": 0, "_layoutType": 3, @@ -7394,11 +7413,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 296 }, "_enabled": true, "__prefab": { - "__id__": 332 + "__id__": 334 }, "_contentSize": { "__type__": "cc.Size", @@ -7422,11 +7441,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 296 }, "_enabled": false, "__prefab": { - "__id__": 334 + "__id__": 336 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7467,11 +7486,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 296 }, "_enabled": true, "__prefab": { - "__id__": 336 + "__id__": 338 }, "_alignFlags": 45, "_target": null, @@ -7516,11 +7535,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 293 + "__id__": 295 }, "_enabled": true, "__prefab": { - "__id__": 339 + "__id__": 341 }, "_contentSize": { "__type__": "cc.Size", @@ -7544,11 +7563,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 293 + "__id__": 295 }, "_enabled": true, "__prefab": { - "__id__": 341 + "__id__": 343 }, "_alignFlags": 45, "_target": null, @@ -7597,7 +7616,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 344 + "__id__": 346 }, "_contentSize": { "__type__": "cc.Size", @@ -7625,7 +7644,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 346 + "__id__": 348 }, "_alignFlags": 45, "_target": null, @@ -7661,28 +7680,28 @@ }, "_enabled": true, "__prefab": { - "__id__": 348 + "__id__": 350 }, "hero_icon": { "__id__": 95 }, "ap_node": { - "__id__": 191 + "__id__": 193 }, "hp_node": { - "__id__": 225 + "__id__": 227 }, "cd_node": { - "__id__": 163 + "__id__": 165 }, "info_node": { - "__id__": 275 + "__id__": 277 }, "name_node": { "__id__": 116 }, "cards_node": { - "__id__": 312 + "__id__": 314 }, "card_lite_prefab": { "__uuid__": "b8313fa7-28e5-4d92-9d64-a1e0ecb040a8", diff --git a/assets/script/game/map/HerosListComp.ts b/assets/script/game/map/HerosListComp.ts index c42eaa62..bf93bb63 100644 --- a/assets/script/game/map/HerosListComp.ts +++ b/assets/script/game/map/HerosListComp.ts @@ -219,13 +219,9 @@ export class HerosListComp extends CCComp { const cardLvStr = `lv${hero.pool_lv ?? 1}` this.lv_node.active = true this.lv_node.children.forEach(child => { - if (child.name === "light") { - child.active = false - } else if (child.name === "bg") { - child.active = true - } else { - child.active = (child.name === cardLvStr) - } + + child.active = (child.name === cardLvStr) + }) const widget = this.lv_node.getComponent(Widget) if (widget) widget.updateAlignment()