diff --git a/assets/resources/gui/hero_home.prefab b/assets/resources/gui/hero_home.prefab new file mode 100644 index 00000000..ed4fe101 --- /dev/null +++ b/assets/resources/gui/hero_home.prefab @@ -0,0 +1,3032 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "hero_home", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "hero_home", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + }, + { + "__id__": 14 + }, + { + "__id__": 90 + } + ], + "_active": true, + "_components": [ + { + "__id__": 126 + }, + { + "__id__": 128 + }, + { + "__id__": 130 + } + ], + "_prefab": { + "__id__": 132 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -640, + "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__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1560 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e3O1ASRY9NWqOXwL6fXdRa" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8e53e122-d71b-440a-bb07-9938dd6c20d9@62b4a", + "__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": "72D9WYDPZFR4UpydMd9zXu" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "catvEBWlxDeLrvnsk7zZHb", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "anm", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 11 + } + ], + "_prefab": { + "__id__": 13 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 23.08, + "y": 862.436, + "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__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 398.7300109863281, + "height": 389.4800109863281 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.4131617910717354, + "y": 0.25777960022036467 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "94Oeez7dBPM5DnfT8spzIi" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_skeletonData": { + "__uuid__": "fae8d00e-408c-4239-8005-d2c2ccac984a", + "__expectedType__": "sp.SkeletonData" + }, + "defaultSkin": "default", + "defaultAnimation": "idle", + "_premultipliedAlpha": true, + "_timeScale": 2, + "_preCacheMode": 2, + "_cacheMode": 2, + "_sockets": [], + "_useTint": false, + "_debugMesh": false, + "_debugBones": false, + "_debugSlots": false, + "_enableBatch": false, + "loop": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8fzHpsQRNB5pLPZXOu167N" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "aa9rLppCxMTL4QWewkjQ+w", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "tab", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 15 + }, + { + "__id__": 21 + }, + { + "__id__": 27 + }, + { + "__id__": 33 + }, + { + "__id__": 39 + }, + { + "__id__": 55 + }, + { + "__id__": 71 + } + ], + "_active": true, + "_components": [ + { + "__id__": 87 + } + ], + "_prefab": { + "__id__": 89 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 733.395, + "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": "tab_bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 16 + }, + { + "__id__": 18 + } + ], + "_prefab": { + "__id__": 20 + }, + "_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__": 15 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "28ML74KrpEvqp7DMtCnEaa" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@bba22", + "__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": "cepIsnMfxP/59J88zCFblJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d1N4VUlWhBc7ahazXErqDQ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "MenuIcon_Sword", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 22 + }, + { + "__id__": 24 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -286.887, + "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__": 21 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 65, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6bOkCPYZlCSox9m45Zj0+w" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_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@f1c34", + "__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": "e2RBjn54FFdbll1IbM0Asx" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8d8V/8QJhCkr7FezcuiEhH", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "MenuIcon_Armor", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 30 + } + ], + "_prefab": { + "__id__": 32 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -145.109, + "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__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 71, + "height": 70 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a1sMBa1FRFTI7qG5wqUHAI" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@82fed", + "__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": "82gRAt42BNA7Q2aXXNRKUr" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "352IAgtGJNP4QUVWzgnoYq", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "MenuIcon_Shield", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 34 + }, + { + "__id__": 36 + } + ], + "_prefab": { + "__id__": 38 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -4.888, + "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__": 33 + }, + "_enabled": true, + "__prefab": { + "__id__": 35 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 65, + "height": 70 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "92BHAJ6kJDurLIIP39HIPy" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 33 + }, + "_enabled": true, + "__prefab": { + "__id__": 37 + }, + "_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@b070d", + "__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": "ffUWi0zjxAkYjaYlY+24KA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cfMdPG/1NN1YyGzSepU4tg", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "role", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [ + { + "__id__": 40 + }, + { + "__id__": 46 + } + ], + "_active": true, + "_components": [ + { + "__id__": 52 + } + ], + "_prefab": { + "__id__": 54 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -266.303, + "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.Node", + "_name": "focus", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 39 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 41 + }, + { + "__id__": 43 + } + ], + "_prefab": { + "__id__": 45 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -27, + "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__": 40 + }, + "_enabled": true, + "__prefab": { + "__id__": 42 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 14 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9fPHvr+KNKPbTzwITwLXuo" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 40 + }, + "_enabled": true, + "__prefab": { + "__id__": 44 + }, + "_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@3181d", + "__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": "a75sTDKSJFTK4Zgx+I8g7H" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "59/ixlDqJIcoQWSkZhUqhM", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "name", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 39 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 47 + }, + { + "__id__": 49 + } + ], + "_prefab": { + "__id__": 51 + }, + "_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__": 46 + }, + "_enabled": true, + "__prefab": { + "__id__": 48 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 104, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "38nhFW9k5L6otaeTjjVegD" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 46 + }, + "_enabled": true, + "__prefab": { + "__id__": 50 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "能力加成", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 25, + "_fontSize": 25, + "_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": 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": "b1b5xrfExEyqq3Q4nMID69" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4bO4CZMPtLObWGKlS5axPF", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 39 + }, + "_enabled": true, + "__prefab": { + "__id__": 53 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "74d4N0oTRM55aSRgvhgQZO" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5eWU1SeWVMAbO95zsAb86g", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "hero", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [ + { + "__id__": 56 + }, + { + "__id__": 62 + } + ], + "_active": true, + "_components": [ + { + "__id__": 68 + } + ], + "_prefab": { + "__id__": 70 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -49.982, + "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.Node", + "_name": "focus", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 55 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 57 + }, + { + "__id__": 59 + } + ], + "_prefab": { + "__id__": 61 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -27, + "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__": 56 + }, + "_enabled": true, + "__prefab": { + "__id__": 58 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 14 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "44+/EnbelFn7qqMqfoI3np" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 56 + }, + "_enabled": true, + "__prefab": { + "__id__": 60 + }, + "_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@3181d", + "__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": "deoZaScYlB3pZXIKOQCckD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "78D90tF4pOzaubQIgPLF3J", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "name", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 55 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 63 + }, + { + "__id__": 65 + } + ], + "_prefab": { + "__id__": 67 + }, + "_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__": 62 + }, + "_enabled": true, + "__prefab": { + "__id__": 64 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 104, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "64J1Nvn2JATYtE/1P1v43v" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": { + "__id__": 66 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "佣兵加成", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 25, + "_fontSize": 25, + "_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": 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": "b1OqrJlo1BfZWk4WFWlqDn" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2fjsmbdfBBLoo1VtdCjSVC", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 55 + }, + "_enabled": true, + "__prefab": { + "__id__": 69 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "18Rxb8tx5GY4axxHEY2ZTF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "19Eo/z1S1AY4o+wUieAcGE", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "mission", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [ + { + "__id__": 72 + }, + { + "__id__": 78 + } + ], + "_active": true, + "_components": [ + { + "__id__": 84 + } + ], + "_prefab": { + "__id__": 86 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 130.449, + "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.Node", + "_name": "focus", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 71 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 73 + }, + { + "__id__": 75 + } + ], + "_prefab": { + "__id__": 77 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -27, + "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__": 72 + }, + "_enabled": true, + "__prefab": { + "__id__": 74 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 14 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c6CtF9xqtBNpX9lMNRbxyi" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 72 + }, + "_enabled": true, + "__prefab": { + "__id__": 76 + }, + "_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@3181d", + "__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": "d5jD8qOFBFUZGVf/CiFkLd" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "16HN28bmFKGL2bFIgPbaSK", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "name", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 71 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 79 + }, + { + "__id__": 81 + } + ], + "_prefab": { + "__id__": 83 + }, + "_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__": 78 + }, + "_enabled": true, + "__prefab": { + "__id__": 80 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 104, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3dj9z64lJL34wFeZzSKEfZ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 78 + }, + "_enabled": true, + "__prefab": { + "__id__": 82 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "战斗加成", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 25, + "_fontSize": 25, + "_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": 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": "b2qOG7X5NEfpVRJVgamxIc" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0biqe3zplEGKi3J+I+Yx84", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": { + "__id__": 85 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1b1MHpQodJKYeqLFGxRXui" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "37hDjVqPlIZ72aCldOud4O", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": { + "__id__": 88 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5221cz7+FOco9TC4y+zNI0" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "88qDsGkSZBYI0AysVLTsek", + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "hero_talent", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 91 + }, + { + "__id__": 109 + } + ], + "_active": false, + "_components": [ + { + "__id__": 121 + }, + { + "__id__": 123 + }, + { + "__id__": 106 + } + ], + "_prefab": { + "__id__": 125 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 404.351, + "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": "scrollBar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 90 + }, + "_children": [ + { + "__id__": 92 + } + ], + "_active": false, + "_components": [ + { + "__id__": 98 + }, + { + "__id__": 100 + }, + { + "__id__": 102 + }, + { + "__id__": 104 + } + ], + "_prefab": { + "__id__": 120 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 360, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 91 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 93 + }, + { + "__id__": 95 + } + ], + "_prefab": { + "__id__": 97 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": -31.25, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 92 + }, + "_enabled": true, + "__prefab": { + "__id__": 94 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 156.25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9buhgr/v1D46/SIk2UWViK" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 92 + }, + "_enabled": true, + "__prefab": { + "__id__": 96 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "521bn17rNMma7KuC6ftq6R" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b4aG1jOQtC6b5FQJgEpJyv", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 99 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 570 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4dCLw/N2BN3bcc+0BOaHlK" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 101 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "51jpMLYRVFKJeqy3yyXSiG" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 103 + }, + "_alignFlags": 37, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "aaDGQr+cdHA6se5vJhz1mW" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 105 + }, + "_scrollView": { + "__id__": 106 + }, + "_handle": { + "__id__": 95 + }, + "_direction": 1, + "_enableAutoHide": false, + "_autoHideTime": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e0wNHhGKtDkLCVbZpsNUbR" + }, + { + "__type__": "cc.ScrollView", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 90 + }, + "_enabled": true, + "__prefab": { + "__id__": 107 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": false, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 108 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d8Dbwz+2lP/6g8d1dsbCVA" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 109 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 117 + } + ], + "_prefab": { + "__id__": 119 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -10, + "y": 280.52, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 90 + }, + "_children": [ + { + "__id__": 108 + } + ], + "_active": true, + "_components": [ + { + "__id__": 110 + }, + { + "__id__": 112 + }, + { + "__id__": 114 + } + ], + "_prefab": { + "__id__": 116 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 109 + }, + "_enabled": true, + "__prefab": { + "__id__": 111 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 570 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "37g/t5HZFCVJlXDWSssKQq" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 109 + }, + "_enabled": true, + "__prefab": { + "__id__": 113 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_alphaThreshold": 0.1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6bIGHtzEZPMK+n3hizSS9L" + }, + { + "__type__": "cc.Graphics", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 109 + }, + "_enabled": true, + "__prefab": { + "__id__": 115 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_lineWidth": 1, + "_strokeColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_lineJoin": 2, + "_lineCap": 0, + "_fillColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_miterLimit": 10, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71PBqLmGxCU5J6woXlYUQK" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ed2fEwfa1DXbhBFNUmOCN6", + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 108 + }, + "_enabled": true, + "__prefab": { + "__id__": 118 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 570 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6abrbRp/FOb7ayYEPlDtlt" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d39d7J3ChLzpEWoJet5TNb", + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b0u7eae5ZAC4rzstifiZx4", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 90 + }, + "_enabled": true, + "__prefab": { + "__id__": 122 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 570 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f044z5gs5Ge4Dzgy03LoS7" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 90 + }, + "_enabled": true, + "__prefab": { + "__id__": 124 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": null, + "_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": "82X80AlmtE1Ih33ArK1i78" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "dc7bEYSZ1A7rzUAdr17uKj", + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 127 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e9HiFYwXJJe4SXPvVhRN1K" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 129 + }, + "_alignFlags": 20, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 720, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5aLIWiUIhFAopAQTNrxwJ8" + }, + { + "__type__": "f8304VeHLhDebOCbedMODFm", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 131 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7bBSCyowhBuIlhF0d9anI5" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "913f5QU7JKAZE87n6c4hSI", + "instance": null + } +] \ No newline at end of file diff --git a/assets/resources/gui/hero_home.prefab.meta b/assets/resources/gui/hero_home.prefab.meta new file mode 100644 index 00000000..f3765224 --- /dev/null +++ b/assets/resources/gui/hero_home.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "5423b9f8-8a8a-49a0-8ecb-0489dfcaba92", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "hero_home" + } +} diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 4aa7ec1e..469f8411 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -55,32 +55,32 @@ "__id__": 1200 }, { - "__id__": 1316 + "__id__": 1208 }, { - "__id__": 1320 + "__id__": 1212 }, { - "__id__": 1328 + "__id__": 1220 }, { - "__id__": 1417 + "__id__": 1309 } ], "_active": true, "_components": [ { - "__id__": 1423 + "__id__": 1315 }, { - "__id__": 1425 + "__id__": 1317 }, { - "__id__": 1427 + "__id__": 1319 } ], "_prefab": { - "__id__": 1429 + "__id__": 1321 }, "_lpos": { "__type__": "cc.Vec3", @@ -27855,2734 +27855,134 @@ }, { "__type__": "cc.Node", - "_name": "hero", "_objFlags": 0, - "__editorExtras__": {}, "_parent": { "__id__": 1 }, - "_children": [ + "_prefab": { + "__id__": 1201 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1200 + }, + "asset": { + "__uuid__": "5423b9f8-8a8a-49a0-8ecb-0489dfcaba92", + "__expectedType__": "cc.Prefab" + }, + "fileId": "913f5QU7JKAZE87n6c4hSI", + "instance": { + "__id__": 1202 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "00qfcb9yZLpqyNkebVNRO6", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ { - "__id__": 1201 + "__id__": 1203 + }, + { + "__id__": 1205 + }, + { + "__id__": 1206 }, { "__id__": 1207 - }, - { - "__id__": 1213 - }, - { - "__id__": 1251 } ], - "_active": true, - "_components": [ - { - "__id__": 1311 - }, - { - "__id__": 1313 - } - ], - "_prefab": { - "__id__": 1315 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 1204 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "hero_home" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "913f5QU7JKAZE87n6c4hSI" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 1204 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 1204 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 1204 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { "__type__": "cc.Node", - "_name": "bg", + "_name": "shop_home", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1200 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1202 - }, - { - "__id__": 1204 - } - ], - "_prefab": { - "__id__": 1206 - }, - "_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__": 1201 - }, - "_enabled": true, - "__prefab": { - "__id__": 1203 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 720, - "height": 1560 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e3O1ASRY9NWqOXwL6fXdRa" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1201 - }, - "_enabled": true, - "__prefab": { - "__id__": 1205 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "8e53e122-d71b-440a-bb07-9938dd6c20d9@62b4a", - "__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": "72D9WYDPZFR4UpydMd9zXu" - }, - { - "__type__": "cc.PrefabInfo", - "root": { "__id__": 1 }, - "asset": { - "__id__": 0 - }, - "fileId": "catvEBWlxDeLrvnsk7zZHb", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "anm", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1200 - }, "_children": [], "_active": true, "_components": [ { - "__id__": 1208 - }, - { - "__id__": 1210 + "__id__": 1209 } ], "_prefab": { - "__id__": 1212 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 23.08, - "y": 862.436, - "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__": 1207 - }, - "_enabled": true, - "__prefab": { - "__id__": 1209 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 398.7300109863281, - "height": 389.4800109863281 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.4131617910717354, - "y": 0.25777960022036467 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "94Oeez7dBPM5DnfT8spzIi" - }, - { - "__type__": "sp.Skeleton", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1207 - }, - "_enabled": true, - "__prefab": { "__id__": 1211 }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_skeletonData": { - "__uuid__": "fae8d00e-408c-4239-8005-d2c2ccac984a", - "__expectedType__": "sp.SkeletonData" - }, - "defaultSkin": "default", - "defaultAnimation": "idle", - "_premultipliedAlpha": true, - "_timeScale": 2, - "_preCacheMode": 2, - "_cacheMode": 2, - "_sockets": [], - "_useTint": false, - "_debugMesh": false, - "_debugBones": false, - "_debugSlots": false, - "_enableBatch": false, - "loop": true, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "8fzHpsQRNB5pLPZXOu167N" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "aa9rLppCxMTL4QWewkjQ+w", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "tab", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1200 - }, - "_children": [ - { - "__id__": 1214 - }, - { - "__id__": 1218 - }, - { - "__id__": 1224 - }, - { - "__id__": 1230 - }, - { - "__id__": 1236 - }, - { - "__id__": 1242 - } - ], - "_active": true, - "_components": [ - { - "__id__": 1248 - } - ], - "_prefab": { - "__id__": 1250 - }, - "_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.Node", - "_name": "bg", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1213 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1215 - } - ], - "_prefab": { - "__id__": 1217 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 727.427, - "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__": 1214 - }, - "_enabled": true, - "__prefab": { - "__id__": 1216 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "cb/c1pYIJF6oQJzmfYZesw" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "047kJJEvJIfZFssTwY174b", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "tab_bg", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1213 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1219 - }, - { - "__id__": 1221 - } - ], - "_prefab": { - "__id__": 1223 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 727.427, - "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__": 1218 - }, - "_enabled": true, - "__prefab": { - "__id__": 1220 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 720, - "height": 80 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "28ML74KrpEvqp7DMtCnEaa" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1218 - }, - "_enabled": true, - "__prefab": { - "__id__": 1222 - }, - "_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@bba22", - "__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": "cepIsnMfxP/59J88zCFblJ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d1N4VUlWhBc7ahazXErqDQ", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "tab_focus", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1213 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1225 - }, - { - "__id__": 1227 - } - ], - "_prefab": { - "__id__": 1229 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -291.227, - "y": 727.427, - "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__": 1224 - }, - "_enabled": true, - "__prefab": { - "__id__": 1226 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 120, - "height": 14 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9fPHvr+KNKPbTzwITwLXuo" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1224 - }, - "_enabled": true, - "__prefab": { - "__id__": 1228 - }, - "_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@3181d", - "__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": "a75sTDKSJFTK4Zgx+I8g7H" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "59/ixlDqJIcoQWSkZhUqhM", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "MenuIcon_Sword", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1213 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1231 - }, - { - "__id__": 1233 - } - ], - "_prefab": { - "__id__": 1235 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -286.887, - "y": 727.427, - "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__": 1230 - }, - "_enabled": true, - "__prefab": { - "__id__": 1232 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 65, - "height": 69 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6bOkCPYZlCSox9m45Zj0+w" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1230 - }, - "_enabled": true, - "__prefab": { - "__id__": 1234 - }, - "_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@f1c34", - "__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": "e2RBjn54FFdbll1IbM0Asx" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "8d8V/8QJhCkr7FezcuiEhH", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "MenuIcon_Armor", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1213 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1237 - }, - { - "__id__": 1239 - } - ], - "_prefab": { - "__id__": 1241 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -145.109, - "y": 727.427, - "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__": 1236 - }, - "_enabled": true, - "__prefab": { - "__id__": 1238 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 71, - "height": 70 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a1sMBa1FRFTI7qG5wqUHAI" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1236 - }, - "_enabled": true, - "__prefab": { - "__id__": 1240 - }, - "_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@82fed", - "__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": "82gRAt42BNA7Q2aXXNRKUr" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "352IAgtGJNP4QUVWzgnoYq", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "MenuIcon_Shield", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1213 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1243 - }, - { - "__id__": 1245 - } - ], - "_prefab": { - "__id__": 1247 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -4.888, - "y": 727.427, - "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__": 1242 - }, - "_enabled": true, - "__prefab": { - "__id__": 1244 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 65, - "height": 70 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "92BHAJ6kJDurLIIP39HIPy" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1242 - }, - "_enabled": true, - "__prefab": { - "__id__": 1246 - }, - "_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@b070d", - "__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": "ffUWi0zjxAkYjaYlY+24KA" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "cfMdPG/1NN1YyGzSepU4tg", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1213 - }, - "_enabled": true, - "__prefab": { - "__id__": 1249 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5221cz7+FOco9TC4y+zNI0" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "88qDsGkSZBYI0AysVLTsek", - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "ScrollView", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1200 - }, - "_children": [ - { - "__id__": 1252 - }, - { - "__id__": 1270 - } - ], - "_active": true, - "_components": [ - { - "__id__": 1306 - }, - { - "__id__": 1308 - }, - { - "__id__": 1267 - } - ], - "_prefab": { - "__id__": 1310 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 404.351, - "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": "scrollBar", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1251 - }, - "_children": [ - { - "__id__": 1253 - } - ], - "_active": true, - "_components": [ - { - "__id__": 1259 - }, - { - "__id__": 1261 - }, - { - "__id__": 1263 - }, - { - "__id__": 1265 - } - ], - "_prefab": { - "__id__": 1305 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 360, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "bar", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1252 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1254 - }, - { - "__id__": 1256 - } - ], - "_prefab": { - "__id__": 1258 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -11, - "y": -31.25, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1253 - }, - "_enabled": true, - "__prefab": { - "__id__": 1255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 10, - "height": 156.25 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9buhgr/v1D46/SIk2UWViK" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1253 - }, - "_enabled": true, - "__prefab": { - "__id__": 1257 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "521bn17rNMma7KuC6ftq6R" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "b4aG1jOQtC6b5FQJgEpJyv", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1252 - }, - "_enabled": true, - "__prefab": { - "__id__": 1260 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 12, - "height": 570 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 1, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4dCLw/N2BN3bcc+0BOaHlK" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1252 - }, - "_enabled": true, - "__prefab": { - "__id__": 1262 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "51jpMLYRVFKJeqy3yyXSiG" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1252 - }, - "_enabled": true, - "__prefab": { - "__id__": 1264 - }, - "_alignFlags": 37, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 250, - "_alignMode": 1, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "aaDGQr+cdHA6se5vJhz1mW" - }, - { - "__type__": "cc.ScrollBar", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1252 - }, - "_enabled": true, - "__prefab": { - "__id__": 1266 - }, - "_scrollView": { - "__id__": 1267 - }, - "_handle": { - "__id__": 1256 - }, - "_direction": 1, - "_enableAutoHide": false, - "_autoHideTime": 1, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e0wNHhGKtDkLCVbZpsNUbR" - }, - { - "__type__": "cc.ScrollView", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1251 - }, - "_enabled": true, - "__prefab": { - "__id__": 1268 - }, - "bounceDuration": 0.23, - "brake": 0.75, - "elastic": true, - "inertia": true, - "horizontal": false, - "vertical": true, - "cancelInnerEvents": true, - "scrollEvents": [], - "_content": { - "__id__": 1269 - }, - "_horizontalScrollBar": null, - "_verticalScrollBar": { - "__id__": 1265 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d8Dbwz+2lP/6g8d1dsbCVA" - }, - { - "__type__": "cc.Node", - "_name": "content", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1270 - }, - "_children": [ - { - "__id__": 1278 - }, - { - "__id__": 1284 - }, - { - "__id__": 1290 - }, - { - "__id__": 1296 - } - ], - "_active": true, - "_components": [ - { - "__id__": 1302 - } - ], - "_prefab": { - "__id__": 1304 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -10, - "y": 280.52, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "view", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1251 - }, - "_children": [ - { - "__id__": 1269 - } - ], - "_active": true, - "_components": [ - { - "__id__": 1271 - }, - { - "__id__": 1273 - }, - { - "__id__": 1275 - } - ], - "_prefab": { - "__id__": 1277 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1270 - }, - "_enabled": true, - "__prefab": { - "__id__": 1272 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 720, - "height": 570 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "37g/t5HZFCVJlXDWSssKQq" - }, - { - "__type__": "cc.Mask", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1270 - }, - "_enabled": true, - "__prefab": { - "__id__": 1274 - }, - "_type": 0, - "_inverted": false, - "_segments": 64, - "_alphaThreshold": 0.1, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6bIGHtzEZPMK+n3hizSS9L" - }, - { - "__type__": "cc.Graphics", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1270 - }, - "_enabled": true, - "__prefab": { - "__id__": 1276 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_lineWidth": 1, - "_strokeColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_lineJoin": 2, - "_lineCap": 0, - "_fillColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 0 - }, - "_miterLimit": 10, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "71PBqLmGxCU5J6woXlYUQK" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "ed2fEwfa1DXbhBFNUmOCN6", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1269 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1279 - }, - { - "__id__": 1281 - } - ], - "_prefab": { - "__id__": 1283 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -341.161, - "y": -295.455, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1278 - }, - "_enabled": true, - "__prefab": { - "__id__": 1280 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 742.720703125, - "height": 117.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "78RogXuINLcLUtR1frdTVr" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1278 - }, - "_enabled": true, - "__prefab": { - "__id__": 1282 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 0, - "_actualFontSize": 90, - "_fontSize": 90, - "_fontFamily": "Arial", - "_lineHeight": 90, - "_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": 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": "e8RjEaMDRPx7o2Tby8DH2J" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "98+owMNblLOph0mAsr55vB", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1269 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1285 - }, - { - "__id__": 1287 - } - ], - "_prefab": { - "__id__": 1289 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -351.161, - "y": -14.935, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1284 - }, - "_enabled": true, - "__prefab": { - "__id__": 1286 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 742.720703125, - "height": 117.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "eermTtiT9Cepuaa+FJm8QV" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1284 - }, - "_enabled": true, - "__prefab": { - "__id__": 1288 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 0, - "_actualFontSize": 90, - "_fontSize": 90, - "_fontFamily": "Arial", - "_lineHeight": 90, - "_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": 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": "59k+I3Cn5A8Z9/oMYIBMJO" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "89AttdEN1Kqb6HVX5a1Bo0", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-001", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1269 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1291 - }, - { - "__id__": 1293 - } - ], - "_prefab": { - "__id__": 1295 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -341.161, - "y": -864.897, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1290 - }, - "_enabled": true, - "__prefab": { - "__id__": 1292 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 742.720703125, - "height": 117.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "25+0Y8fY5HeaxhjhVWg0m2" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1290 - }, - "_enabled": true, - "__prefab": { - "__id__": 1294 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 5, - "b": 5, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 0, - "_actualFontSize": 90, - "_fontSize": 90, - "_fontFamily": "Arial", - "_lineHeight": 90, - "_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": 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": "feINXZzClBRZKFGEn5Fbvf" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "91paDZqq5BD5DnDpVDGc+Z", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-002", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1269 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1297 - }, - { - "__id__": 1299 - } - ], - "_prefab": { - "__id__": 1301 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -351.161, - "y": -584.377, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1296 - }, - "_enabled": true, - "__prefab": { - "__id__": 1298 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 742.720703125, - "height": 117.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c9DC4t/TZNw4lzhGhCQiUT" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1296 - }, - "_enabled": true, - "__prefab": { - "__id__": 1300 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 5, - "b": 5, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 0, - "_actualFontSize": 90, - "_fontSize": 90, - "_fontFamily": "Arial", - "_lineHeight": 90, - "_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": 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": "30FH8ffNBEBpWyCRl7lPdb" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "14i+UkS/tCSqxLKyIUGM7X", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1269 - }, - "_enabled": true, - "__prefab": { - "__id__": 1303 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 700, - "height": 1140 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 1 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6abrbRp/FOb7ayYEPlDtlt" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d39d7J3ChLzpEWoJet5TNb", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "b0u7eae5ZAC4rzstifiZx4", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1251 - }, - "_enabled": true, - "__prefab": { - "__id__": 1307 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 720, - "height": 570 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f044z5gs5Ge4Dzgy03LoS7" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1251 - }, - "_enabled": true, - "__prefab": { - "__id__": 1309 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "b730527c-3233-41c2-aaf7-7cdab58f9749@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "82X80AlmtE1Ih33ArK1i78" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "dc7bEYSZ1A7rzUAdr17uKj", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1200 - }, - "_enabled": true, - "__prefab": { - "__id__": 1312 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 720, - "height": 1280 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e9HiFYwXJJe4SXPvVhRN1K" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1200 - }, - "_enabled": true, - "__prefab": { - "__id__": 1314 - }, - "_alignFlags": 16, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 720, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5aLIWiUIhFAopAQTNrxwJ8" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "913f5QU7JKAZE87n6c4hSI", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "home", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1317 - } - ], - "_prefab": { - "__id__": 1319 - }, "_lpos": { "__type__": "cc.Vec3", "x": 0, @@ -30618,11 +28018,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1316 + "__id__": 1208 }, "_enabled": true, "__prefab": { - "__id__": 1318 + "__id__": 1210 }, "_contentSize": { "__type__": "cc.Size", @@ -30660,14 +28060,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 1321 + "__id__": 1213 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1320 + "__id__": 1212 }, "asset": { "__uuid__": "dc0b56d7-c633-4cd2-a6ff-8fa2d7456d9d", @@ -30675,7 +28075,7 @@ }, "fileId": "5bChJGE9BD55+nIimwyIR0", "instance": { - "__id__": 1322 + "__id__": 1214 }, "targetOverrides": null }, @@ -30689,16 +28089,16 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 1323 + "__id__": 1215 }, { - "__id__": 1325 + "__id__": 1217 }, { - "__id__": 1326 + "__id__": 1218 }, { - "__id__": 1327 + "__id__": 1219 } ], "removedComponents": [] @@ -30706,7 +28106,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 1324 + "__id__": 1216 }, "propertyPath": [ "_name" @@ -30722,7 +28122,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 1324 + "__id__": 1216 }, "propertyPath": [ "_lpos" @@ -30737,7 +28137,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 1324 + "__id__": 1216 }, "propertyPath": [ "_lrot" @@ -30753,7 +28153,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 1324 + "__id__": 1216 }, "propertyPath": [ "_euler" @@ -30775,32 +28175,32 @@ }, "_children": [ { - "__id__": 1329 + "__id__": 1221 }, { - "__id__": 1335 + "__id__": 1227 }, { - "__id__": 1360 + "__id__": 1252 }, { - "__id__": 1385 + "__id__": 1277 } ], "_active": true, "_components": [ { - "__id__": 1410 + "__id__": 1302 }, { - "__id__": 1412 + "__id__": 1304 }, { - "__id__": 1414 + "__id__": 1306 } ], "_prefab": { - "__id__": 1416 + "__id__": 1308 }, "_lpos": { "__type__": "cc.Vec3", @@ -30837,20 +28237,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1328 + "__id__": 1220 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1330 + "__id__": 1222 }, { - "__id__": 1332 + "__id__": 1224 } ], "_prefab": { - "__id__": 1334 + "__id__": 1226 }, "_lpos": { "__type__": "cc.Vec3", @@ -30887,11 +28287,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1329 + "__id__": 1221 }, "_enabled": true, "__prefab": { - "__id__": 1331 + "__id__": 1223 }, "_contentSize": { "__type__": "cc.Size", @@ -30915,11 +28315,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1329 + "__id__": 1221 }, "_enabled": true, "__prefab": { - "__id__": 1333 + "__id__": 1225 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -30973,30 +28373,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1328 + "__id__": 1220 }, "_children": [ { - "__id__": 1336 + "__id__": 1228 }, { - "__id__": 1342 + "__id__": 1234 }, { - "__id__": 1348 + "__id__": 1240 } ], "_active": true, "_components": [ { - "__id__": 1354 + "__id__": 1246 }, { - "__id__": 1356 + "__id__": 1248 } ], "_prefab": { - "__id__": 1359 + "__id__": 1251 }, "_lpos": { "__type__": "cc.Vec3", @@ -31033,20 +28433,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1335 + "__id__": 1227 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1337 + "__id__": 1229 }, { - "__id__": 1339 + "__id__": 1231 } ], "_prefab": { - "__id__": 1341 + "__id__": 1233 }, "_lpos": { "__type__": "cc.Vec3", @@ -31083,11 +28483,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1336 + "__id__": 1228 }, "_enabled": true, "__prefab": { - "__id__": 1338 + "__id__": 1230 }, "_contentSize": { "__type__": "cc.Size", @@ -31111,11 +28511,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1336 + "__id__": 1228 }, "_enabled": true, "__prefab": { - "__id__": 1340 + "__id__": 1232 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -31169,20 +28569,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1335 + "__id__": 1227 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1343 + "__id__": 1235 }, { - "__id__": 1345 + "__id__": 1237 } ], "_prefab": { - "__id__": 1347 + "__id__": 1239 }, "_lpos": { "__type__": "cc.Vec3", @@ -31219,11 +28619,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1342 + "__id__": 1234 }, "_enabled": true, "__prefab": { - "__id__": 1344 + "__id__": 1236 }, "_contentSize": { "__type__": "cc.Size", @@ -31247,11 +28647,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1342 + "__id__": 1234 }, "_enabled": true, "__prefab": { - "__id__": 1346 + "__id__": 1238 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -31305,20 +28705,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1335 + "__id__": 1227 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1349 + "__id__": 1241 }, { - "__id__": 1351 + "__id__": 1243 } ], "_prefab": { - "__id__": 1353 + "__id__": 1245 }, "_lpos": { "__type__": "cc.Vec3", @@ -31355,11 +28755,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1348 + "__id__": 1240 }, "_enabled": true, "__prefab": { - "__id__": 1350 + "__id__": 1242 }, "_contentSize": { "__type__": "cc.Size", @@ -31383,11 +28783,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1348 + "__id__": 1240 }, "_enabled": true, "__prefab": { - "__id__": 1352 + "__id__": 1244 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -31464,11 +28864,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1335 + "__id__": 1227 }, "_enabled": true, "__prefab": { - "__id__": 1355 + "__id__": 1247 }, "_contentSize": { "__type__": "cc.Size", @@ -31492,15 +28892,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1335 + "__id__": 1227 }, "_enabled": true, "__prefab": { - "__id__": 1357 + "__id__": 1249 }, "clickEvents": [ { - "__id__": 1358 + "__id__": 1250 } ], "_interactable": true, @@ -31575,30 +28975,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1328 + "__id__": 1220 }, "_children": [ { - "__id__": 1361 + "__id__": 1253 }, { - "__id__": 1367 + "__id__": 1259 }, { - "__id__": 1373 + "__id__": 1265 } ], "_active": true, "_components": [ { - "__id__": 1379 + "__id__": 1271 }, { - "__id__": 1381 + "__id__": 1273 } ], "_prefab": { - "__id__": 1384 + "__id__": 1276 }, "_lpos": { "__type__": "cc.Vec3", @@ -31635,20 +29035,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1360 + "__id__": 1252 }, "_children": [], "_active": false, "_components": [ { - "__id__": 1362 + "__id__": 1254 }, { - "__id__": 1364 + "__id__": 1256 } ], "_prefab": { - "__id__": 1366 + "__id__": 1258 }, "_lpos": { "__type__": "cc.Vec3", @@ -31685,11 +29085,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1361 + "__id__": 1253 }, "_enabled": true, "__prefab": { - "__id__": 1363 + "__id__": 1255 }, "_contentSize": { "__type__": "cc.Size", @@ -31713,11 +29113,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1361 + "__id__": 1253 }, "_enabled": true, "__prefab": { - "__id__": 1365 + "__id__": 1257 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -31771,20 +29171,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1360 + "__id__": 1252 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1368 + "__id__": 1260 }, { - "__id__": 1370 + "__id__": 1262 } ], "_prefab": { - "__id__": 1372 + "__id__": 1264 }, "_lpos": { "__type__": "cc.Vec3", @@ -31821,11 +29221,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1367 + "__id__": 1259 }, "_enabled": true, "__prefab": { - "__id__": 1369 + "__id__": 1261 }, "_contentSize": { "__type__": "cc.Size", @@ -31849,11 +29249,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1367 + "__id__": 1259 }, "_enabled": true, "__prefab": { - "__id__": 1371 + "__id__": 1263 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -31907,20 +29307,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1360 + "__id__": 1252 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1374 + "__id__": 1266 }, { - "__id__": 1376 + "__id__": 1268 } ], "_prefab": { - "__id__": 1378 + "__id__": 1270 }, "_lpos": { "__type__": "cc.Vec3", @@ -31957,11 +29357,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1373 + "__id__": 1265 }, "_enabled": true, "__prefab": { - "__id__": 1375 + "__id__": 1267 }, "_contentSize": { "__type__": "cc.Size", @@ -31985,11 +29385,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1373 + "__id__": 1265 }, "_enabled": true, "__prefab": { - "__id__": 1377 + "__id__": 1269 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -32066,11 +29466,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1360 + "__id__": 1252 }, "_enabled": true, "__prefab": { - "__id__": 1380 + "__id__": 1272 }, "_contentSize": { "__type__": "cc.Size", @@ -32094,15 +29494,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1360 + "__id__": 1252 }, "_enabled": true, "__prefab": { - "__id__": 1382 + "__id__": 1274 }, "clickEvents": [ { - "__id__": 1383 + "__id__": 1275 } ], "_interactable": true, @@ -32177,30 +29577,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1328 + "__id__": 1220 }, "_children": [ { - "__id__": 1386 + "__id__": 1278 }, { - "__id__": 1392 + "__id__": 1284 }, { - "__id__": 1398 + "__id__": 1290 } ], "_active": true, "_components": [ { - "__id__": 1404 + "__id__": 1296 }, { - "__id__": 1406 + "__id__": 1298 } ], "_prefab": { - "__id__": 1409 + "__id__": 1301 }, "_lpos": { "__type__": "cc.Vec3", @@ -32237,20 +29637,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1385 + "__id__": 1277 }, "_children": [], "_active": false, "_components": [ { - "__id__": 1387 + "__id__": 1279 }, { - "__id__": 1389 + "__id__": 1281 } ], "_prefab": { - "__id__": 1391 + "__id__": 1283 }, "_lpos": { "__type__": "cc.Vec3", @@ -32287,11 +29687,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1386 + "__id__": 1278 }, "_enabled": true, "__prefab": { - "__id__": 1388 + "__id__": 1280 }, "_contentSize": { "__type__": "cc.Size", @@ -32315,11 +29715,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1386 + "__id__": 1278 }, "_enabled": true, "__prefab": { - "__id__": 1390 + "__id__": 1282 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -32373,20 +29773,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1385 + "__id__": 1277 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1393 + "__id__": 1285 }, { - "__id__": 1395 + "__id__": 1287 } ], "_prefab": { - "__id__": 1397 + "__id__": 1289 }, "_lpos": { "__type__": "cc.Vec3", @@ -32423,11 +29823,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1392 + "__id__": 1284 }, "_enabled": true, "__prefab": { - "__id__": 1394 + "__id__": 1286 }, "_contentSize": { "__type__": "cc.Size", @@ -32451,11 +29851,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1392 + "__id__": 1284 }, "_enabled": true, "__prefab": { - "__id__": 1396 + "__id__": 1288 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -32509,20 +29909,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1385 + "__id__": 1277 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1399 + "__id__": 1291 }, { - "__id__": 1401 + "__id__": 1293 } ], "_prefab": { - "__id__": 1403 + "__id__": 1295 }, "_lpos": { "__type__": "cc.Vec3", @@ -32559,11 +29959,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1398 + "__id__": 1290 }, "_enabled": true, "__prefab": { - "__id__": 1400 + "__id__": 1292 }, "_contentSize": { "__type__": "cc.Size", @@ -32587,11 +29987,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1398 + "__id__": 1290 }, "_enabled": true, "__prefab": { - "__id__": 1402 + "__id__": 1294 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -32668,11 +30068,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1385 + "__id__": 1277 }, "_enabled": true, "__prefab": { - "__id__": 1405 + "__id__": 1297 }, "_contentSize": { "__type__": "cc.Size", @@ -32696,15 +30096,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1385 + "__id__": 1277 }, "_enabled": true, "__prefab": { - "__id__": 1407 + "__id__": 1299 }, "clickEvents": [ { - "__id__": 1408 + "__id__": 1300 } ], "_interactable": true, @@ -32779,11 +30179,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1328 + "__id__": 1220 }, "_enabled": true, "__prefab": { - "__id__": 1411 + "__id__": 1303 }, "_contentSize": { "__type__": "cc.Size", @@ -32807,11 +30207,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1328 + "__id__": 1220 }, "_enabled": true, "__prefab": { - "__id__": 1413 + "__id__": 1305 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -32849,11 +30249,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1328 + "__id__": 1220 }, "_enabled": true, "__prefab": { - "__id__": 1415 + "__id__": 1307 }, "_alignFlags": 20, "_target": null, @@ -32904,14 +30304,14 @@ "_active": true, "_components": [ { - "__id__": 1418 + "__id__": 1310 }, { - "__id__": 1420 + "__id__": 1312 } ], "_prefab": { - "__id__": 1422 + "__id__": 1314 }, "_lpos": { "__type__": "cc.Vec3", @@ -32948,11 +30348,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1417 + "__id__": 1309 }, "_enabled": true, "__prefab": { - "__id__": 1419 + "__id__": 1311 }, "_contentSize": { "__type__": "cc.Size", @@ -32976,11 +30376,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1417 + "__id__": 1309 }, "_enabled": true, "__prefab": { - "__id__": 1421 + "__id__": 1313 }, "_alignFlags": 12, "_target": null, @@ -33029,7 +30429,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1424 + "__id__": 1316 }, "_contentSize": { "__type__": "cc.Size", @@ -33057,7 +30457,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1426 + "__id__": 1318 }, "_alignFlags": 45, "_target": null, @@ -33093,7 +30493,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1428 + "__id__": 1320 }, "_id": "" }, @@ -33113,15 +30513,18 @@ "instance": null, "targetOverrides": [ { - "__id__": 1430 + "__id__": 1322 }, { - "__id__": 1433 + "__id__": 1325 } ], "nestedPrefabInstanceRoots": [ { - "__id__": 1320 + "__id__": 1212 + }, + { + "__id__": 1200 }, { "__id__": 404 @@ -33140,7 +30543,7 @@ "__id__": 64 }, "sourceInfo": { - "__id__": 1431 + "__id__": 1323 }, "propertyPath": [ "_target" @@ -33149,7 +30552,7 @@ "__id__": 64 }, "targetInfo": { - "__id__": 1432 + "__id__": 1324 } }, { @@ -33170,7 +30573,7 @@ "__id__": 64 }, "sourceInfo": { - "__id__": 1434 + "__id__": 1326 }, "propertyPath": [ "_target" @@ -33179,7 +30582,7 @@ "__id__": 64 }, "targetInfo": { - "__id__": 1435 + "__id__": 1327 } }, { diff --git a/assets/script/Main.ts b/assets/script/Main.ts index 699d810a..20a65ae0 100644 --- a/assets/script/Main.ts +++ b/assets/script/Main.ts @@ -19,8 +19,8 @@ const { ccclass, property } = _decorator; @ccclass('Main') export class Main extends Root { start() { - if (DEBUG) profiler.showStats(); - PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Aabb + // if (DEBUG) profiler.showStats(); + // PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Aabb // // | EPhysics2DDrawFlags.Pair // |EPhysics2DDrawFlags.CenterOfMass // |EPhysics2DDrawFlags.Joint diff --git a/assets/script/game/Boss/BossViewComp.ts b/assets/script/game/Boss/BossViewComp.ts index 4579e815..aaf332b5 100644 --- a/assets/script/game/Boss/BossViewComp.ts +++ b/assets/script/game/Boss/BossViewComp.ts @@ -93,7 +93,7 @@ export class BossViewComp extends CCComp { onLoad() { // this.BoxRang = this.node.getChildByName("range_box"); this.as = this.node.getComponent(BossSpine); - console.log(this.as) + // console.log(this.as) } start () { diff --git a/assets/script/game/Role/Talent.ts b/assets/script/game/Role/Talent.ts new file mode 100644 index 00000000..0cd71c6b --- /dev/null +++ b/assets/script/game/Role/Talent.ts @@ -0,0 +1,29 @@ +import { instantiate, Prefab, Vec3 ,Node} from "cc"; +import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; +import { TalentComp } from "./TalentComp"; +import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops"; +import { smc } from "../common/SingletonModuleComp"; + +/** Talent 模块 */ +@ecs.register(`Talent`) +export class Talent extends ecs.Entity { + /** ---------- 数据层 ---------- */ + + TalentView!: TalentComp + + destroy(): void { + this.remove(TalentComp); + super.destroy(); + } + + /** 加载角色 */ + load(pos: Vec3 = Vec3.ZERO,uuid:number=101,parent:Node) { + // var path = "game/monster/"+prefab_path; + var path = "game/heros/role"; + var prefab: Prefab = oops.res.get(path, Prefab)!; + var node = instantiate(prefab); + node.parent = parent; + node.setScale(node.scale.x, node.scale.y, node.scale.z); + node.setPosition(pos) + } +} diff --git a/assets/script/game/Role/Talent.ts.meta b/assets/script/game/Role/Talent.ts.meta new file mode 100644 index 00000000..9667c3dd --- /dev/null +++ b/assets/script/game/Role/Talent.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "da2ee9b0-de45-487a-8c6b-f3ab67f8ff88", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/game/Role/TalentComp.ts b/assets/script/game/Role/TalentComp.ts new file mode 100644 index 00000000..58ba59d0 --- /dev/null +++ b/assets/script/game/Role/TalentComp.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('TalentComp') +@ecs.register('TalentView', false) +export class TalentComp 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/Role/TalentComp.ts.meta b/assets/script/game/Role/TalentComp.ts.meta new file mode 100644 index 00000000..c07e2405 --- /dev/null +++ b/assets/script/game/Role/TalentComp.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "91d25bbb-9b90-479f-8e1b-b5624ee56aae", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/game/map/CardController.ts b/assets/script/game/map/CardController.ts index 0d0fb85f..d9c11102 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,v3 } from "cc"; +import { _decorator,Button,EventHandler,EventTouch,Label,NodeEventType,resources,Sprite,SpriteAtlas,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"; @@ -16,7 +16,6 @@ const { ccclass, property } = _decorator; @ccclass('CardControllerComp') @ecs.register('CardController', false) export class CardControllerComp extends CCComp { - card_level:number = 1; in_load:boolean = false touch_time:number = 0 @@ -41,15 +40,9 @@ export class CardControllerComp extends CCComp { // oops.message.on("do_reward", this.do_reward, this) oops.message.on("minssion_victory", this.do_minssion_victory, this) oops.message.on("minssion_defeat", this.do_minssion_defeat, this) - - } start() { - - } - - show_info(uuid:number,type:number){ // console.log("show_info",uuid) let node =this.node.getChildByName("item_box") @@ -202,8 +195,8 @@ export class CardControllerComp extends CCComp { } to_mission(){ this.node.getChildByName("mission_home").active=true - this.node.getChildByName("hero").active=false - this.node.getChildByName("home").active=false + this.node.getChildByName("hero_home").active=false + this.node.getChildByName("shop_home").active=false this.node.getChildByName("bar").getChildByName("mission_btn").getChildByName("bg").active=true this.node.getChildByName("bar").getChildByName("hero_btn").getChildByName("bg").active=false this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=false @@ -213,8 +206,8 @@ export class CardControllerComp extends CCComp { } to_home(){ this.node.getChildByName("mission_home").active=false - this.node.getChildByName("hero").active=false - this.node.getChildByName("home").active=true + this.node.getChildByName("hero_home").active=false + this.node.getChildByName("shop_home").active=true this.node.getChildByName("bar").getChildByName("mission_btn").getChildByName("bg").active=false this.node.getChildByName("bar").getChildByName("hero_btn").getChildByName("bg").active=false this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=true @@ -224,8 +217,8 @@ export class CardControllerComp extends CCComp { } to_hero(){ this.node.getChildByName("mission_home").active=false - this.node.getChildByName("hero").active=true - this.node.getChildByName("home").active=false + this.node.getChildByName("hero_home").active=true + this.node.getChildByName("shop_home").active=false this.node.getChildByName("bar").getChildByName("mission_btn").getChildByName("bg").active=false this.node.getChildByName("bar").getChildByName("hero_btn").getChildByName("bg").active=true this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=false diff --git a/assets/script/game/map/HeroHomeComp.ts b/assets/script/game/map/HeroHomeComp.ts new file mode 100644 index 00000000..6c549a4a --- /dev/null +++ b/assets/script/game/map/HeroHomeComp.ts @@ -0,0 +1,34 @@ +import { _decorator,Button,EventHandler,EventTouch,Label,NodeEventType,resources,Sprite,SpriteAtlas,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"; +import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops"; +import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager"; +import { SkillSet } from "../common/config/SkillSet"; +import { HeroModelComp } from "../hero/HeroModelComp"; +import { RewardSet } from "../common/config/RewardSet"; +import { GameSet } from "../common/config/BoxSet"; +import { GameMap } from "./GameMap"; +import { MapModelComp } from "./model/MapModelComp"; +const { ccclass, property } = _decorator; + +/** 视图层对象 */ +@ccclass('HeroHomeComp') +@ecs.register('HeroHome', false) +export class HeroHomeComp extends CCComp { + + protected onLoad(): void { + + } + start() { + let hero_talent_content=this.node.getChildByName("hero_talent").getChildByName("view").getChildByName("content").getComponent(UITransform) + hero_talent_content.height=2000 + console.log("hero_home start") + + } + + /** 视图对象通过 ecs.Entity.remove(ControllerComp) 删除组件是触发组件处理自定义释放逻辑 */ + reset() { + this.node.destroy(); + } +} \ No newline at end of file diff --git a/assets/script/game/map/HeroHomeComp.ts.meta b/assets/script/game/map/HeroHomeComp.ts.meta new file mode 100644 index 00000000..d7e6bf21 --- /dev/null +++ b/assets/script/game/map/HeroHomeComp.ts.meta @@ -0,0 +1 @@ +{"ver":"4.0.23","importer":"typescript","imported":true,"uuid":"f830455e-1cb8-4379-b382-6de74c383166","files":[],"subMetas":{},"userData":{}}