diff --git a/assets/resources/gui/element/item_info.prefab b/assets/resources/gui/element/item_info.prefab new file mode 100644 index 00000000..3d5cfb81 --- /dev/null +++ b/assets/resources/gui/element/item_info.prefab @@ -0,0 +1,63 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "item_info", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "item_info", + "_objFlags": 0, + "_parent": null, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 2 + }, + "_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 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx" + } +] \ No newline at end of file diff --git a/assets/resources/gui/element/item_info.prefab.meta b/assets/resources/gui/element/item_info.prefab.meta new file mode 100644 index 00000000..705e697d --- /dev/null +++ b/assets/resources/gui/element/item_info.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "9851f9ee-65d3-42c9-8d06-2e1eaf0b8301", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "item_info" + } +} diff --git a/assets/resources/gui/gui.plist.meta b/assets/resources/gui/gui.plist.meta index 41977431..c33e55b5 100644 --- a/assets/resources/gui/gui.plist.meta +++ b/assets/resources/gui/gui.plist.meta @@ -945,10 +945,10 @@ "height": 63, "rawWidth": 37, "rawHeight": 63, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderTop": 42, + "borderBottom": 17, + "borderLeft": 17, + "borderRight": 17, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5, @@ -10375,10 +10375,10 @@ "height": 130, "rawWidth": 65, "rawHeight": 130, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderTop": 58, + "borderBottom": 59, + "borderLeft": 29, + "borderRight": 28, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5, @@ -10605,8 +10605,8 @@ "height": 63, "rawWidth": 37, "rawHeight": 63, - "borderTop": 29, - "borderBottom": 30, + "borderTop": 0, + "borderBottom": 0, "borderLeft": 16, "borderRight": 16, "packable": true, diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index ee4ee143..a4f2ec40 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -22,41 +22,44 @@ "__id__": 2 }, { - "__id__": 251 + "__id__": 254 }, { - "__id__": 277 + "__id__": 280 }, { - "__id__": 286 + "__id__": 294 }, { - "__id__": 295 + "__id__": 303 }, { - "__id__": 299 + "__id__": 307 }, { - "__id__": 309 - }, - { - "__id__": 398 - } - ], - "_active": true, - "_components": [ - { - "__id__": 404 + "__id__": 317 }, { "__id__": 406 }, { - "__id__": 408 + "__id__": 412 + } + ], + "_active": true, + "_components": [ + { + "__id__": 469 + }, + { + "__id__": 471 + }, + { + "__id__": 473 } ], "_prefab": { - "__id__": 410 + "__id__": 475 }, "_lpos": { "__type__": "cc.Vec3", @@ -115,17 +118,17 @@ "_active": true, "_components": [ { - "__id__": 244 + "__id__": 247 }, { - "__id__": 246 + "__id__": 249 }, { - "__id__": 248 + "__id__": 251 } ], "_prefab": { - "__id__": 250 + "__id__": 253 }, "_lpos": { "__type__": "cc.Vec3", @@ -1906,6 +1909,12 @@ }, { "__id__": 243 + }, + { + "__id__": 244 + }, + { + "__id__": 245 } ], "removedComponents": [] @@ -2000,7 +2009,7 @@ "__id__": 220 } ], - "_active": false, + "_active": true, "_components": [ { "__id__": 226 @@ -4801,7 +4810,7 @@ "propertyPath": [ "_active" ], - "value": false + "value": true }, { "__type__": "cc.TargetInfo", @@ -4837,6 +4846,37 @@ "z": 0 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 241 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 246 + }, + "propertyPath": [ + "item" + ], + "value": null + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a5xwCYwVJEWYXcU3LyUEaY" + ] + }, { "__type__": "cc.UITransform", "_name": "", @@ -4847,7 +4887,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 245 + "__id__": 248 }, "_contentSize": { "__type__": "cc.Size", @@ -4875,7 +4915,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 247 + "__id__": 250 }, "_alignFlags": 16, "_target": null, @@ -4911,7 +4951,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 249 + "__id__": 252 }, "_id": "" }, @@ -4942,20 +4982,20 @@ }, "_children": [ { - "__id__": 252 + "__id__": 255 } ], "_active": true, "_components": [ { - "__id__": 272 + "__id__": 275 }, { - "__id__": 274 + "__id__": 277 } ], "_prefab": { - "__id__": 276 + "__id__": 279 }, "_lpos": { "__type__": "cc.Vec3", @@ -4992,27 +5032,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 251 + "__id__": 254 }, "_children": [ { - "__id__": 253 + "__id__": 256 }, { - "__id__": 259 + "__id__": 262 } ], "_active": true, "_components": [ { - "__id__": 265 + "__id__": 268 }, { - "__id__": 267 + "__id__": 270 } ], "_prefab": { - "__id__": 271 + "__id__": 274 }, "_lpos": { "__type__": "cc.Vec3", @@ -5049,20 +5089,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 252 + "__id__": 255 }, "_children": [], "_active": true, "_components": [ { - "__id__": 254 + "__id__": 257 }, { - "__id__": 256 + "__id__": 259 } ], "_prefab": { - "__id__": 258 + "__id__": 261 }, "_lpos": { "__type__": "cc.Vec3", @@ -5099,11 +5139,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 253 + "__id__": 256 }, "_enabled": true, "__prefab": { - "__id__": 255 + "__id__": 258 }, "_contentSize": { "__type__": "cc.Size", @@ -5127,11 +5167,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 253 + "__id__": 256 }, "_enabled": true, "__prefab": { - "__id__": 257 + "__id__": 260 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5185,20 +5225,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 252 + "__id__": 255 }, "_children": [], "_active": true, "_components": [ { - "__id__": 260 + "__id__": 263 }, { - "__id__": 262 + "__id__": 265 } ], "_prefab": { - "__id__": 264 + "__id__": 267 }, "_lpos": { "__type__": "cc.Vec3", @@ -5235,11 +5275,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 259 + "__id__": 262 }, "_enabled": true, "__prefab": { - "__id__": 261 + "__id__": 264 }, "_contentSize": { "__type__": "cc.Size", @@ -5263,11 +5303,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 259 + "__id__": 262 }, "_enabled": true, "__prefab": { - "__id__": 263 + "__id__": 266 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5344,11 +5384,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 252 + "__id__": 255 }, "_enabled": true, "__prefab": { - "__id__": 266 + "__id__": 269 }, "_contentSize": { "__type__": "cc.Size", @@ -5372,18 +5412,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 252 + "__id__": 255 }, "_enabled": true, "__prefab": { - "__id__": 268 + "__id__": 271 }, "clickEvents": [ { - "__id__": 269 + "__id__": 272 }, { - "__id__": 270 + "__id__": 273 } ], "_interactable": true, @@ -5423,7 +5463,7 @@ "_duration": 0.1, "_zoomScale": 0.8, "_target": { - "__id__": 252 + "__id__": 255 }, "_id": "" }, @@ -5470,11 +5510,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 251 + "__id__": 254 }, "_enabled": true, "__prefab": { - "__id__": 273 + "__id__": 276 }, "_contentSize": { "__type__": "cc.Size", @@ -5498,11 +5538,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 251 + "__id__": 254 }, "_enabled": true, "__prefab": { - "__id__": 275 + "__id__": 278 }, "_alignFlags": 16, "_target": null, @@ -5548,14 +5588,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 278 + "__id__": 281 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 277 + "__id__": 280 }, "asset": { "__uuid__": "5423b9f8-8a8a-49a0-8ecb-0489dfcaba92", @@ -5563,7 +5603,7 @@ }, "fileId": "913f5QU7JKAZE87n6c4hSI", "instance": { - "__id__": 279 + "__id__": 282 }, "targetOverrides": null }, @@ -5576,20 +5616,29 @@ "mountedChildren": [], "mountedComponents": [], "propertyOverrides": [ - { - "__id__": 280 - }, - { - "__id__": 282 - }, { "__id__": 283 }, { - "__id__": 284 + "__id__": 285 }, { - "__id__": 285 + "__id__": 286 + }, + { + "__id__": 287 + }, + { + "__id__": 288 + }, + { + "__id__": 289 + }, + { + "__id__": 291 + }, + { + "__id__": 292 } ], "removedComponents": [] @@ -5597,7 +5646,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 281 + "__id__": 284 }, "propertyPath": [ "_name" @@ -5613,14 +5662,14 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 281 + "__id__": 284 }, "propertyPath": [ "_lpos" ], "value": { "__type__": "cc.Vec3", - "x": 0, + "x": 971.3299999999999, "y": 0, "z": 0 } @@ -5628,7 +5677,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 281 + "__id__": 284 }, "propertyPath": [ "_lrot" @@ -5644,7 +5693,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 281 + "__id__": 284 }, "propertyPath": [ "_euler" @@ -5659,12 +5708,58 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 281 + "__id__": 284 }, "propertyPath": [ "_active" ], - "value": false + "value": true + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 290 + }, + "propertyPath": [ + "_left" + ], + "value": 971.3299999999999 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "5aLIWiUIhFAopAQTNrxwJ8" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 290 + }, + "propertyPath": [ + "_right" + ], + "value": -971.3299999999999 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 293 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "e9HiFYwXJJe4SXPvVhRN1K" + ] }, { "__type__": "cc.Node", @@ -5673,14 +5768,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 287 + "__id__": 295 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 286 + "__id__": 294 }, "asset": { "__uuid__": "a14709ee-4775-4141-ae49-9f1f4a2b91b8", @@ -5688,7 +5783,7 @@ }, "fileId": "a2Mppj56hC3rhWLN9lYFwN", "instance": { - "__id__": 288 + "__id__": 296 }, "targetOverrides": null }, @@ -5702,19 +5797,19 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 289 + "__id__": 297 }, { - "__id__": 291 + "__id__": 299 }, { - "__id__": 292 + "__id__": 300 }, { - "__id__": 293 + "__id__": 301 }, { - "__id__": 294 + "__id__": 302 } ], "removedComponents": [] @@ -5722,7 +5817,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 290 + "__id__": 298 }, "propertyPath": [ "_name" @@ -5738,14 +5833,14 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 290 + "__id__": 298 }, "propertyPath": [ "_lpos" ], "value": { "__type__": "cc.Vec3", - "x": 0, + "x": -987.608, "y": 0, "z": 0 } @@ -5753,7 +5848,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 290 + "__id__": 298 }, "propertyPath": [ "_lrot" @@ -5769,7 +5864,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 290 + "__id__": 298 }, "propertyPath": [ "_euler" @@ -5784,12 +5879,12 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 290 + "__id__": 298 }, "propertyPath": [ "_active" ], - "value": false + "value": true }, { "__type__": "cc.Node", @@ -5803,11 +5898,11 @@ "_active": true, "_components": [ { - "__id__": 296 + "__id__": 304 } ], "_prefab": { - "__id__": 298 + "__id__": 306 }, "_lpos": { "__type__": "cc.Vec3", @@ -5844,11 +5939,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 295 + "__id__": 303 }, "_enabled": true, "__prefab": { - "__id__": 297 + "__id__": 305 }, "_contentSize": { "__type__": "cc.Size", @@ -5886,14 +5981,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 300 + "__id__": 308 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 299 + "__id__": 307 }, "asset": { "__uuid__": "dc0b56d7-c633-4cd2-a6ff-8fa2d7456d9d", @@ -5901,7 +5996,7 @@ }, "fileId": "5bChJGE9BD55+nIimwyIR0", "instance": { - "__id__": 301 + "__id__": 309 }, "targetOverrides": null }, @@ -5915,19 +6010,19 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 302 + "__id__": 310 }, { - "__id__": 304 + "__id__": 312 }, { - "__id__": 305 + "__id__": 313 }, { - "__id__": 306 + "__id__": 314 }, { - "__id__": 307 + "__id__": 315 } ], "removedComponents": [] @@ -5935,7 +6030,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 303 + "__id__": 311 }, "propertyPath": [ "_name" @@ -5951,7 +6046,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 303 + "__id__": 311 }, "propertyPath": [ "_lpos" @@ -5966,7 +6061,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 303 + "__id__": 311 }, "propertyPath": [ "_lrot" @@ -5982,7 +6077,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 303 + "__id__": 311 }, "propertyPath": [ "_euler" @@ -5997,7 +6092,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 308 + "__id__": 316 }, "propertyPath": [ "_active" @@ -6020,32 +6115,32 @@ }, "_children": [ { - "__id__": 310 + "__id__": 318 }, { - "__id__": 316 + "__id__": 324 }, { - "__id__": 341 + "__id__": 349 }, { - "__id__": 366 + "__id__": 374 } ], "_active": true, "_components": [ { - "__id__": 391 + "__id__": 399 }, { - "__id__": 393 + "__id__": 401 }, { - "__id__": 395 + "__id__": 403 } ], "_prefab": { - "__id__": 397 + "__id__": 405 }, "_lpos": { "__type__": "cc.Vec3", @@ -6082,20 +6177,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 309 + "__id__": 317 }, "_children": [], "_active": true, "_components": [ { - "__id__": 311 + "__id__": 319 }, { - "__id__": 313 + "__id__": 321 } ], "_prefab": { - "__id__": 315 + "__id__": 323 }, "_lpos": { "__type__": "cc.Vec3", @@ -6132,11 +6227,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 310 + "__id__": 318 }, "_enabled": true, "__prefab": { - "__id__": 312 + "__id__": 320 }, "_contentSize": { "__type__": "cc.Size", @@ -6160,11 +6255,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 310 + "__id__": 318 }, "_enabled": true, "__prefab": { - "__id__": 314 + "__id__": 322 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6218,30 +6313,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 309 + "__id__": 317 }, "_children": [ { - "__id__": 317 + "__id__": 325 }, { - "__id__": 323 - }, - { - "__id__": 329 - } - ], - "_active": true, - "_components": [ - { - "__id__": 335 + "__id__": 331 }, { "__id__": 337 } ], + "_active": true, + "_components": [ + { + "__id__": 343 + }, + { + "__id__": 345 + } + ], "_prefab": { - "__id__": 340 + "__id__": 348 }, "_lpos": { "__type__": "cc.Vec3", @@ -6278,20 +6373,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 316 + "__id__": 324 }, "_children": [], "_active": true, "_components": [ { - "__id__": 318 + "__id__": 326 }, { - "__id__": 320 + "__id__": 328 } ], "_prefab": { - "__id__": 322 + "__id__": 330 }, "_lpos": { "__type__": "cc.Vec3", @@ -6328,11 +6423,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 317 + "__id__": 325 }, "_enabled": true, "__prefab": { - "__id__": 319 + "__id__": 327 }, "_contentSize": { "__type__": "cc.Size", @@ -6356,11 +6451,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 317 + "__id__": 325 }, "_enabled": true, "__prefab": { - "__id__": 321 + "__id__": 329 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6414,20 +6509,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 316 + "__id__": 324 }, "_children": [], "_active": true, "_components": [ { - "__id__": 324 + "__id__": 332 }, { - "__id__": 326 + "__id__": 334 } ], "_prefab": { - "__id__": 328 + "__id__": 336 }, "_lpos": { "__type__": "cc.Vec3", @@ -6464,11 +6559,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 323 + "__id__": 331 }, "_enabled": true, "__prefab": { - "__id__": 325 + "__id__": 333 }, "_contentSize": { "__type__": "cc.Size", @@ -6492,11 +6587,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 323 + "__id__": 331 }, "_enabled": true, "__prefab": { - "__id__": 327 + "__id__": 335 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6550,20 +6645,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 316 + "__id__": 324 }, "_children": [], "_active": true, "_components": [ { - "__id__": 330 + "__id__": 338 }, { - "__id__": 332 + "__id__": 340 } ], "_prefab": { - "__id__": 334 + "__id__": 342 }, "_lpos": { "__type__": "cc.Vec3", @@ -6600,11 +6695,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 329 + "__id__": 337 }, "_enabled": true, "__prefab": { - "__id__": 331 + "__id__": 339 }, "_contentSize": { "__type__": "cc.Size", @@ -6628,11 +6723,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 329 + "__id__": 337 }, "_enabled": true, "__prefab": { - "__id__": 333 + "__id__": 341 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6709,11 +6804,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 316 + "__id__": 324 }, "_enabled": true, "__prefab": { - "__id__": 336 + "__id__": 344 }, "_contentSize": { "__type__": "cc.Size", @@ -6737,15 +6832,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 316 + "__id__": 324 }, "_enabled": true, "__prefab": { - "__id__": 338 + "__id__": 346 }, "clickEvents": [ { - "__id__": 339 + "__id__": 347 } ], "_interactable": true, @@ -6820,30 +6915,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 309 + "__id__": 317 }, "_children": [ { - "__id__": 342 + "__id__": 350 }, { - "__id__": 348 - }, - { - "__id__": 354 - } - ], - "_active": true, - "_components": [ - { - "__id__": 360 + "__id__": 356 }, { "__id__": 362 } ], + "_active": true, + "_components": [ + { + "__id__": 368 + }, + { + "__id__": 370 + } + ], "_prefab": { - "__id__": 365 + "__id__": 373 }, "_lpos": { "__type__": "cc.Vec3", @@ -6880,20 +6975,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 341 + "__id__": 349 }, "_children": [], "_active": false, "_components": [ { - "__id__": 343 + "__id__": 351 }, { - "__id__": 345 + "__id__": 353 } ], "_prefab": { - "__id__": 347 + "__id__": 355 }, "_lpos": { "__type__": "cc.Vec3", @@ -6930,11 +7025,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 342 + "__id__": 350 }, "_enabled": true, "__prefab": { - "__id__": 344 + "__id__": 352 }, "_contentSize": { "__type__": "cc.Size", @@ -6958,11 +7053,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 342 + "__id__": 350 }, "_enabled": true, "__prefab": { - "__id__": 346 + "__id__": 354 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7016,20 +7111,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 341 + "__id__": 349 }, "_children": [], "_active": true, "_components": [ { - "__id__": 349 + "__id__": 357 }, { - "__id__": 351 + "__id__": 359 } ], "_prefab": { - "__id__": 353 + "__id__": 361 }, "_lpos": { "__type__": "cc.Vec3", @@ -7066,11 +7161,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 348 + "__id__": 356 }, "_enabled": true, "__prefab": { - "__id__": 350 + "__id__": 358 }, "_contentSize": { "__type__": "cc.Size", @@ -7094,11 +7189,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 348 + "__id__": 356 }, "_enabled": true, "__prefab": { - "__id__": 352 + "__id__": 360 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7152,20 +7247,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 341 + "__id__": 349 }, "_children": [], "_active": true, "_components": [ { - "__id__": 355 + "__id__": 363 }, { - "__id__": 357 + "__id__": 365 } ], "_prefab": { - "__id__": 359 + "__id__": 367 }, "_lpos": { "__type__": "cc.Vec3", @@ -7202,11 +7297,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 354 + "__id__": 362 }, "_enabled": true, "__prefab": { - "__id__": 356 + "__id__": 364 }, "_contentSize": { "__type__": "cc.Size", @@ -7230,11 +7325,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 354 + "__id__": 362 }, "_enabled": true, "__prefab": { - "__id__": 358 + "__id__": 366 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7311,11 +7406,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 341 + "__id__": 349 }, "_enabled": true, "__prefab": { - "__id__": 361 + "__id__": 369 }, "_contentSize": { "__type__": "cc.Size", @@ -7339,15 +7434,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 341 + "__id__": 349 }, "_enabled": true, "__prefab": { - "__id__": 363 + "__id__": 371 }, "clickEvents": [ { - "__id__": 364 + "__id__": 372 } ], "_interactable": true, @@ -7422,30 +7517,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 309 + "__id__": 317 }, "_children": [ { - "__id__": 367 + "__id__": 375 }, { - "__id__": 373 - }, - { - "__id__": 379 - } - ], - "_active": true, - "_components": [ - { - "__id__": 385 + "__id__": 381 }, { "__id__": 387 } ], + "_active": true, + "_components": [ + { + "__id__": 393 + }, + { + "__id__": 395 + } + ], "_prefab": { - "__id__": 390 + "__id__": 398 }, "_lpos": { "__type__": "cc.Vec3", @@ -7482,20 +7577,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 366 + "__id__": 374 }, "_children": [], "_active": false, "_components": [ { - "__id__": 368 + "__id__": 376 }, { - "__id__": 370 + "__id__": 378 } ], "_prefab": { - "__id__": 372 + "__id__": 380 }, "_lpos": { "__type__": "cc.Vec3", @@ -7532,11 +7627,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 367 + "__id__": 375 }, "_enabled": true, "__prefab": { - "__id__": 369 + "__id__": 377 }, "_contentSize": { "__type__": "cc.Size", @@ -7560,11 +7655,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 367 + "__id__": 375 }, "_enabled": true, "__prefab": { - "__id__": 371 + "__id__": 379 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7618,20 +7713,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 366 + "__id__": 374 }, "_children": [], "_active": true, "_components": [ { - "__id__": 374 + "__id__": 382 }, { - "__id__": 376 + "__id__": 384 } ], "_prefab": { - "__id__": 378 + "__id__": 386 }, "_lpos": { "__type__": "cc.Vec3", @@ -7668,11 +7763,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 373 + "__id__": 381 }, "_enabled": true, "__prefab": { - "__id__": 375 + "__id__": 383 }, "_contentSize": { "__type__": "cc.Size", @@ -7696,11 +7791,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 373 + "__id__": 381 }, "_enabled": true, "__prefab": { - "__id__": 377 + "__id__": 385 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7754,20 +7849,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 366 + "__id__": 374 }, "_children": [], "_active": true, "_components": [ { - "__id__": 380 + "__id__": 388 }, { - "__id__": 382 + "__id__": 390 } ], "_prefab": { - "__id__": 384 + "__id__": 392 }, "_lpos": { "__type__": "cc.Vec3", @@ -7804,11 +7899,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 379 + "__id__": 387 }, "_enabled": true, "__prefab": { - "__id__": 381 + "__id__": 389 }, "_contentSize": { "__type__": "cc.Size", @@ -7832,11 +7927,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 379 + "__id__": 387 }, "_enabled": true, "__prefab": { - "__id__": 383 + "__id__": 391 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7913,11 +8008,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 366 + "__id__": 374 }, "_enabled": true, "__prefab": { - "__id__": 386 + "__id__": 394 }, "_contentSize": { "__type__": "cc.Size", @@ -7941,15 +8036,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 366 + "__id__": 374 }, "_enabled": true, "__prefab": { - "__id__": 388 + "__id__": 396 }, "clickEvents": [ { - "__id__": 389 + "__id__": 397 } ], "_interactable": true, @@ -8024,11 +8119,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 309 + "__id__": 317 }, "_enabled": true, "__prefab": { - "__id__": 392 + "__id__": 400 }, "_contentSize": { "__type__": "cc.Size", @@ -8052,11 +8147,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 309 + "__id__": 317 }, "_enabled": true, "__prefab": { - "__id__": 394 + "__id__": 402 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -8094,11 +8189,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 309 + "__id__": 317 }, "_enabled": true, "__prefab": { - "__id__": 396 + "__id__": 404 }, "_alignFlags": 20, "_target": null, @@ -8149,14 +8244,14 @@ "_active": true, "_components": [ { - "__id__": 399 + "__id__": 407 }, { - "__id__": 401 + "__id__": 409 } ], "_prefab": { - "__id__": 403 + "__id__": 411 }, "_lpos": { "__type__": "cc.Vec3", @@ -8193,11 +8288,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 398 + "__id__": 406 }, "_enabled": true, "__prefab": { - "__id__": 400 + "__id__": 408 }, "_contentSize": { "__type__": "cc.Size", @@ -8221,11 +8316,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 398 + "__id__": 406 }, "_enabled": true, "__prefab": { - "__id__": 402 + "__id__": 410 }, "_alignFlags": 12, "_target": null, @@ -8264,6 +8359,1372 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "item_info", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 413 + }, + { + "__id__": 419 + }, + { + "__id__": 431 + }, + { + "__id__": 437 + }, + { + "__id__": 452 + }, + { + "__id__": 458 + } + ], + "_active": true, + "_components": [ + { + "__id__": 464 + }, + { + "__id__": 466 + } + ], + "_prefab": { + "__id__": 468 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 748.999, + "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": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 412 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 414 + }, + { + "__id__": 416 + } + ], + "_prefab": { + "__id__": 418 + }, + "_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__": 413 + }, + "_enabled": true, + "__prefab": { + "__id__": 415 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 600, + "height": 500 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "10zRYsPO1EaqNMJl8pS1Vb" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 413 + }, + "_enabled": true, + "__prefab": { + "__id__": 417 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@b86f8", + "__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": "a2MUgvmyhFdoHhH0Tw6PMN" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6eMF5I2XBEd6SosODBJU+H", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "tiem_bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 412 + }, + "_children": [ + { + "__id__": 420 + } + ], + "_active": true, + "_components": [ + { + "__id__": 426 + }, + { + "__id__": 428 + } + ], + "_prefab": { + "__id__": 430 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -227.342, + "y": 163.185, + "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": "icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 419 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 421 + }, + { + "__id__": 423 + } + ], + "_prefab": { + "__id__": 425 + }, + "_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__": 420 + }, + "_enabled": true, + "__prefab": { + "__id__": 422 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 56 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "44UzU0bhVJ7pWTZfLo1UgW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 420 + }, + "_enabled": true, + "__prefab": { + "__id__": 424 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@b3f5a", + "__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": "42dEM1coNBhIKOs89f/8OS" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8e1IRM125CG58Vuf8pEptA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 419 + }, + "_enabled": true, + "__prefab": { + "__id__": 427 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 90, + "height": 90 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "390iXmXJdD35wsgWVk0L57" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 419 + }, + "_enabled": true, + "__prefab": { + "__id__": 429 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@eeece", + "__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": "9aNPA4o3ZI6r7FEN/MWhfQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6aSknSwtdG+Z7VXND59HAa", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "line_bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 412 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 432 + }, + { + "__id__": 434 + } + ], + "_prefab": { + "__id__": 436 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -13.947, + "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__": 431 + }, + "_enabled": true, + "__prefab": { + "__id__": 433 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 250 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "aem+OlURRDSYDvjYvcBvbZ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 431 + }, + "_enabled": true, + "__prefab": { + "__id__": 435 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@5304c", + "__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": "aaySvXHh5PSp61seqp9+Fw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1bV+JKCQ5AXrvjnNMMCBAE", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "btn", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 412 + }, + "_children": [ + { + "__id__": 438 + } + ], + "_active": true, + "_components": [ + { + "__id__": 444 + }, + { + "__id__": 446 + }, + { + "__id__": 448 + } + ], + "_prefab": { + "__id__": 451 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -182.246, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.7, + "y": 0.7, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bt", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 437 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 439 + }, + { + "__id__": 441 + } + ], + "_prefab": { + "__id__": 443 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 5, + "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__": 438 + }, + "_enabled": true, + "__prefab": { + "__id__": 440 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 117.33984375, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "acdHCfEw9JOLqC0oGN1Nf8" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 438 + }, + "_enabled": true, + "__prefab": { + "__id__": 442 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "确 定", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": true, + "_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": "84ZK0JkcBJ44z4BZ8kD59u" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "89MrC5obFGSrG68q3HXLAd", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 437 + }, + "_enabled": true, + "__prefab": { + "__id__": 445 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 114 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "44+3U9Mv5I2IM2SJub/c3z" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 437 + }, + "_enabled": true, + "__prefab": { + "__id__": 447 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@6653d", + "__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": "1fx6jf+lBLOJFx5Wg6VLXW" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 437 + }, + "_enabled": true, + "__prefab": { + "__id__": 449 + }, + "clickEvents": [ + { + "__id__": 450 + } + ], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "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": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "96t+qGMKVBT4W195d/LSQr" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "ee99bEQ89lEtavAHQsY2sba", + "handler": "item_info_hide", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1e2vRKY/1CYrkQo1Uug3SH", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "name", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 412 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 453 + }, + { + "__id__": 455 + } + ], + "_prefab": { + "__id__": 457 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -169.242, + "y": 161.461, + "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__": 452 + }, + "_enabled": true, + "__prefab": { + "__id__": 454 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 300, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b752yskN5DlYU2lpZFtyEj" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 452 + }, + "_enabled": true, + "__prefab": { + "__id__": 456 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "这是物品名称", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 31, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "19K9PXhdtDHKAMcNTzgfkl" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "68i8Q3rMVMtqf0lqKFjqRw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "info", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 412 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 459 + }, + { + "__id__": 461 + } + ], + "_prefab": { + "__id__": 463 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -17.508, + "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__": 458 + }, + "_enabled": true, + "__prefab": { + "__id__": 460 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 530, + "height": 230 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cc2j3qPB1GfY33cDwd44wI" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 458 + }, + "_enabled": true, + "__prefab": { + "__id__": 462 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介这是简介", + "_horizontalAlign": 0, + "_verticalAlign": 0, + "_actualFontSize": 31, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ecgCY/bPZMEJNrhdn/PipD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b3AyObfsZAVoq6/1Xcy0Q8", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 412 + }, + "_enabled": true, + "__prefab": { + "__id__": 465 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e8Qos1mlBO3ZW7whJWY53v" + }, + { + "__type__": "8a98fQ67vxAqoq1t/JfAe7z", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 412 + }, + "_enabled": true, + "__prefab": { + "__id__": 467 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f3nkT04aZAMqNs/dbiSCZF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "93EVPcNsBBXpMaJjrmWbVn", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "GameUI", @@ -8274,7 +9735,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 405 + "__id__": 470 }, "_contentSize": { "__type__": "cc.Size", @@ -8302,7 +9763,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 407 + "__id__": 472 }, "_alignFlags": 45, "_target": null, @@ -8338,7 +9799,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 409 + "__id__": 474 }, "_id": "" }, @@ -8359,13 +9820,13 @@ "targetOverrides": [], "nestedPrefabInstanceRoots": [ { - "__id__": 299 + "__id__": 307 }, { - "__id__": 286 + "__id__": 294 }, { - "__id__": 277 + "__id__": 280 }, { "__id__": 109 diff --git a/assets/script/game/common/config/GameUIConfig.ts b/assets/script/game/common/config/GameUIConfig.ts index 1b4be674..30ee1b82 100644 --- a/assets/script/game/common/config/GameUIConfig.ts +++ b/assets/script/game/common/config/GameUIConfig.ts @@ -16,8 +16,6 @@ export enum UIID { Netinstable, /** 角色控制 */ Role_Controller, - /** 奖励界面 */ - Rewards, } /** 打开界面方式的配置数据 */ @@ -25,6 +23,5 @@ export var UIConfigData: { [key: number]: UIConfig } = { [UIID.Loading]: { layer: LayerType.UI, prefab: "loading/prefab/loading", bundle: "resources" }, [UIID.Netinstable]: { layer: LayerType.PopUp, prefab: "common/prefab/netinstable" }, [UIID.Window]: { layer: LayerType.Dialog, prefab: "common/prefab/window" }, - [UIID.Rewards]: { layer: LayerType.Dialog, prefab: "gui/rewards" }, [UIID.Role_Controller]: { layer: LayerType.UI, prefab: "gui/role_controller" }, } \ No newline at end of file diff --git a/assets/script/game/hero/Hero.ts b/assets/script/game/hero/Hero.ts index 92c26984..485e47f8 100644 --- a/assets/script/game/hero/Hero.ts +++ b/assets/script/game/hero/Hero.ts @@ -17,7 +17,6 @@ import { HeroViewComp } from "./HeroViewComp"; import { BoxSet } from "../common/config/BoxSet"; import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager"; import { HeroInfo,MonSet } from "../common/config/heroSet"; -import { Role } from "../Role/Role"; import { MoveToComp } from "../common/ecs/position/MoveTo"; import { Talents } from "../common/config/TalentSet"; import { MonModelComp } from "../mon/MonModelComp"; diff --git a/assets/script/game/map/CardController.ts b/assets/script/game/map/CardController.ts index e9fadec5..9c228687 100644 --- a/assets/script/game/map/CardController.ts +++ b/assets/script/game/map/CardController.ts @@ -1,4 +1,4 @@ -import { _decorator,Button,EventHandler,EventTouch,Label,NodeEventType,resources,Sprite,SpriteAtlas,UITransform,v3 } from "cc"; +import { _decorator,Button,EventHandler,EventTouch,Label,NodeEventType,resources,Sprite,SpriteAtlas,tween,UITransform,v3 } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { smc } from "../common/SingletonModuleComp"; @@ -93,6 +93,12 @@ export class CardControllerComp extends CCComp { this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=false } + item_info_show(){ + this.node.getChildByName("item_info").setScale(1,1,1) + } + item_info_hide(){ + this.node.getChildByName("item_info").setScale(0,0,1) + } /** 视图对象通过 ecs.Entity.remove(ControllerComp) 删除组件是触发组件处理自定义释放逻辑 */ reset() { this.node.destroy(); diff --git a/assets/script/game/map/ItemInfoComp.ts b/assets/script/game/map/ItemInfoComp.ts new file mode 100644 index 00000000..300210a6 --- /dev/null +++ b/assets/script/game/map/ItemInfoComp.ts @@ -0,0 +1,29 @@ +import { _decorator } from "cc"; +import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; +import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; + +const { ccclass, property } = _decorator; + +/** 视图层对象 */ +@ccclass('ItemInfoComp') +@ecs.register('ItemInfo', false) +export class ItemInfoComp extends CCComp { + /** 视图层逻辑代码分离演示 */ + start() { + // var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象 + // this.on(ModuleEvent.Cmd, this.onHandler, this); + } + + /** 全局消息逻辑处理 */ + // private onHandler(event: string, args: any) { + // switch (event) { + // case ModuleEvent.Cmd: + // break; + // } + // } + + /** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */ + reset() { + this.node.destroy(); + } +} \ No newline at end of file diff --git a/assets/script/game/map/ItemInfoComp.ts.meta b/assets/script/game/map/ItemInfoComp.ts.meta new file mode 100644 index 00000000..eab7c69a --- /dev/null +++ b/assets/script/game/map/ItemInfoComp.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "8a98f43a-eefc-40aa-8ab5-b7f25f01eef3", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/game/map/VictoryComp.ts b/assets/script/game/map/VictoryComp.ts index 668d5404..42dd42a4 100644 --- a/assets/script/game/map/VictoryComp.ts +++ b/assets/script/game/map/VictoryComp.ts @@ -16,6 +16,7 @@ const { ccclass, property } = _decorator; @ccclass('VictoryComp') @ecs.register('Victory', false) export class VictoryComp extends CCComp { + reward_lv:number=1 reward_num:number=2 rerawd_item:any={} @@ -25,14 +26,14 @@ export class VictoryComp extends CCComp { } private do_victiry() { if(this.if_show) return - this.node.getChildByName("Node").active = true; + this.node.getChildByName("Node").setScale(1,1,1) this.getReward(true) this.node.getChildByName("Node").getChildByName("defeat").active = false this.node.getChildByName("Node").getChildByName("victory").active = true; } private do_defeat() { if(this.if_show) return - this.node.getChildByName("Node").active = true; + this.node.getChildByName("Node").setScale(1,1,1) this.getReward(false) this.node.getChildByName("Node").getChildByName("victory").active = false; this.node.getChildByName("Node").getChildByName("defeat").active = true @@ -53,7 +54,7 @@ export class VictoryComp extends CCComp { this.if_show=true } end_mission(){ - this.node.getChildByName("Node").active=false + this.node.getChildByName("Node").setScale(0,0,0) this.if_show=false }