diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 21dc98af..08e25a32 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -34,17 +34,17 @@ "_active": true, "_components": [ { - "__id__": 1704 + "__id__": 1808 }, { - "__id__": 1706 + "__id__": 1810 }, { - "__id__": 1708 + "__id__": 1812 } ], "_prefab": { - "__id__": 1710 + "__id__": 1814 }, "_lpos": { "__type__": "cc.Vec3", @@ -34438,28 +34438,25 @@ "__id__": 1597 }, { - "__id__": 1605 - }, - { - "__id__": 1695 + "__id__": 1799 } ], "_active": true, "_components": [ { - "__id__": 1699 + "__id__": 1803 }, { - "__id__": 1701 + "__id__": 1805 } ], "_prefab": { - "__id__": 1703 + "__id__": 1807 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 1185, + "y": 1195.228, "z": 0 }, "_lrot": { @@ -34485,181 +34482,6 @@ }, "_id": "" }, - { - "__type__": "cc.Node", - "_name": "bg", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1596 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 1598 - }, - { - "__id__": 1600 - }, - { - "__id__": 1602 - } - ], - "_prefab": { - "__id__": 1604 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -345, - "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__": 1597 - }, - "_enabled": true, - "__prefab": { - "__id__": 1599 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 620, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "75P1Vsm+9Lj5amxozzpViB" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1597 - }, - "_enabled": true, - "__prefab": { - "__id__": 1601 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 136, - "g": 136, - "b": 136, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "6cd18ad7-7b15-43fc-b1bc-33a3973a6564@194ed", - "__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": "fcNqkssu9CQYjnD/49IS6h" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1597 - }, - "_enabled": true, - "__prefab": { - "__id__": 1603 - }, - "_alignFlags": 8, - "_target": null, - "_left": 15, - "_right": 210, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 300, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "32LEqApW5Fz68r35tyBXrw" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "ecMGvsQV9ApbtPB+C7vjM5", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "zican", @@ -34670,36 +34492,39 @@ }, "_children": [ { - "__id__": 1606 + "__id__": 1598 }, { - "__id__": 1628 + "__id__": 1646 }, { - "__id__": 1648 + "__id__": 1694 }, { - "__id__": 1668 + "__id__": 1742 } ], "_active": true, "_components": [ { - "__id__": 1688 + "__id__": 1790 }, { - "__id__": 1690 + "__id__": 1792 }, { - "__id__": 1692 + "__id__": 1794 + }, + { + "__id__": 1796 } ], "_prefab": { - "__id__": 1694 + "__id__": 1798 }, "_lpos": { "__type__": "cc.Vec3", - "x": -8.660000000000025, + "x": 0, "y": 0, "z": 0 }, @@ -34732,28 +34557,34 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1605 + "__id__": 1597 }, "_children": [ + { + "__id__": 1599 + }, { "__id__": 1607 }, { - "__id__": 1615 + "__id__": 1613 + }, + { + "__id__": 1623 } ], "_active": true, "_components": [ { - "__id__": 1625 + "__id__": 1643 } ], "_prefab": { - "__id__": 1627 + "__id__": 1645 }, "_lpos": { "__type__": "cc.Vec3", - "x": -285, + "x": -350, "y": 0, "z": 0 }, @@ -34782,31 +34613,31 @@ }, { "__type__": "cc.Node", - "_name": "9001", + "_name": "ResourceBar_01_White_Add_Bg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1606 + "__id__": 1598 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1608 + "__id__": 1600 }, { - "__id__": 1610 + "__id__": 1602 }, { - "__id__": 1612 + "__id__": 1604 } ], "_prefab": { - "__id__": 1614 + "__id__": 1606 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, + "x": 105, "y": 0, "z": 0 }, @@ -34819,8 +34650,180 @@ }, "_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__": 1599 + }, + "_enabled": true, + "__prefab": { + "__id__": 1601 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 190, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "37pNsqLepCpaEkC4cRbI8r" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1599 + }, + "_enabled": true, + "__prefab": { + "__id__": 1603 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 26, + "g": 21, + "b": 45, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@549c9", + "__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": "6eHkVl5CNEfI+hQmOlCgi2" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1599 + }, + "_enabled": true, + "__prefab": { + "__id__": 1605 + }, + "_alignFlags": 40, + "_target": null, + "_left": 10, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 54, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "35oTXr4uxFOLx42NKfSuM+" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "471trB2GNE2ItfyZfWOK82", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1598 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1608 + }, + { + "__id__": 1610 + } + ], + "_prefab": { + "__id__": 1612 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -10, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.45, + "y": 0.45, "z": 1 }, "_mobility": 0, @@ -34852,7 +34855,7 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_id": "" @@ -34909,42 +34912,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "e2xMPaIU9P6pCvK6SVJWSM" }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1607 - }, - "_enabled": true, - "__prefab": { - "__id__": 1613 - }, - "_alignFlags": 18, - "_target": null, - "_left": -20.75, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": -75, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "04xx7DsPVHvbDouZsl+2u1" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -34964,11 +34931,14 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1606 + "__id__": 1598 }, "_children": [], "_active": true, "_components": [ + { + "__id__": 1614 + }, { "__id__": 1616 }, @@ -34977,17 +34947,14 @@ }, { "__id__": 1620 - }, - { - "__id__": 1622 } ], "_prefab": { - "__id__": 1624 + "__id__": 1622 }, "_lpos": { "__type__": "cc.Vec3", - "x": 20, + "x": 93.546, "y": 0, "z": 0 }, @@ -35020,20 +34987,20 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1615 + "__id__": 1613 }, "_enabled": true, "__prefab": { - "__id__": 1617 + "__id__": 1615 }, "_contentSize": { "__type__": "cc.Size", - "width": 80, + "width": 120, "height": 35 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, + "x": 0.5, "y": 0.5 }, "_id": "" @@ -35048,11 +35015,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1615 + "__id__": 1613 }, "_enabled": true, "__prefab": { - "__id__": 1619 + "__id__": 1617 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -35065,10 +35032,10 @@ "a": 255 }, "_string": "{{0:kmbt}}", - "_horizontalAlign": 0, + "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 16, - "_fontSize": 30, + "_actualFontSize": 20, + "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 35, "_overflow": 2, @@ -35116,19 +35083,19 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1615 + "__id__": 1613 }, "_enabled": true, "__prefab": { - "__id__": 1621 + "__id__": 1619 }, - "_alignFlags": 18, + "_alignFlags": 10, "_target": null, - "_left": -15, + "_left": 33.54600000000001, "_right": -15, "_top": 0, "_bottom": 0, - "_horizontalCenter": -15, + "_horizontalCenter": 5, "_verticalCenter": 0, "_isAbsLeft": true, "_isAbsRight": true, @@ -35152,11 +35119,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1615 + "__id__": 1613 }, "_enabled": true, "__prefab": { - "__id__": 1623 + "__id__": 1621 }, "templateMode": true, "watchPath": "data.data.gold", @@ -35183,13 +35150,123 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "add", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1598 + }, + "_children": [ + { + "__id__": 1624 + }, + { + "__id__": 1630 + } + ], + "_active": true, + "_components": [ + { + "__id__": 1636 + }, + { + "__id__": 1638 + }, + { + "__id__": 1640 + } + ], + "_prefab": { + "__id__": 1642 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 178, + "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": "ResourceBar_01_White_Add_Icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1623 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1625 + }, + { + "__id__": 1627 + } + ], + "_prefab": { + "__id__": 1629 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "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__": 1606 + "__id__": 1624 }, "_enabled": true, "__prefab": { @@ -35197,7 +35274,351 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 150, + "width": 24, + "height": 24 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1bhmBlXfVA4otWnrdwdv1S" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1624 + }, + "_enabled": true, + "__prefab": { + "__id__": 1628 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@180fb", + "__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": "ae1ndGo5xNp4s87ntVEVIL" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "45ApFmJytBcL50mIk4upue", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "ResourceBar_01_White_Add_IconBorder", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1623 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1631 + }, + { + "__id__": 1633 + } + ], + "_prefab": { + "__id__": 1635 + }, + "_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__": 1630 + }, + "_enabled": true, + "__prefab": { + "__id__": 1632 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 28, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6fZuQUGA9A0aG7PIjA25TE" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1630 + }, + "_enabled": true, + "__prefab": { + "__id__": 1634 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 48, + "g": 46, + "b": 68, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@e50c1", + "__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": "b1M+8Nk/9Jc584Kb7GpvZF" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "86czUefx5J57xO5+Kx4NtU", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1623 + }, + "_enabled": true, + "__prefab": { + "__id__": 1637 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fe4O86cgpAvYO5FQThCDuM" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1623 + }, + "_enabled": true, + "__prefab": { + "__id__": 1639 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@8e19b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3lY/dD39B/KJlCiN8yyqJ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1623 + }, + "_enabled": true, + "__prefab": { + "__id__": 1641 + }, + "_alignFlags": 32, + "_target": null, + "_left": 48, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 54, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "25E6tSkSdDbJdKX3TfonO9" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8bBYfVAQtMC6LtFiWmJp5V", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1598 + }, + "_enabled": true, + "__prefab": { + "__id__": 1644 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, "height": 50 }, "_anchorPoint": { @@ -35230,24 +35651,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1605 + "__id__": 1597 }, "_children": [ { - "__id__": 1629 + "__id__": 1647 }, { - "__id__": 1635 + "__id__": 1655 + }, + { + "__id__": 1661 + }, + { + "__id__": 1671 } ], "_active": true, "_components": [ { - "__id__": 1645 + "__id__": 1691 } ], "_prefab": { - "__id__": 1647 + "__id__": 1693 }, "_lpos": { "__type__": "cc.Vec3", @@ -35280,28 +35707,31 @@ }, { "__type__": "cc.Node", - "_name": "ItemIcon_Ticket_Gold", + "_name": "ResourceBar_01_White_Add_Bg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1628 + "__id__": 1646 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1630 + "__id__": 1648 }, { - "__id__": 1632 + "__id__": 1650 + }, + { + "__id__": 1652 } ], "_prefab": { - "__id__": 1634 + "__id__": 1654 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, + "x": 105, "y": 0, "z": 0 }, @@ -35314,8 +35744,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -35334,11 +35764,183 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1629 + "__id__": 1647 }, "_enabled": true, "__prefab": { - "__id__": 1631 + "__id__": 1649 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 190, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f7eV3oQB9Ko6Es+/4deDSC" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1647 + }, + "_enabled": true, + "__prefab": { + "__id__": 1651 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 26, + "g": 21, + "b": 45, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@549c9", + "__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": "bbLkd1mCZGrJvnU10iSOmO" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1647 + }, + "_enabled": true, + "__prefab": { + "__id__": 1653 + }, + "_alignFlags": 40, + "_target": null, + "_left": 10, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 54, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "16ncxIi41Bu6k+MrF37WK/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "aeX6NK++xANKOKIBcniqNB", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1646 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1656 + }, + { + "__id__": 1658 + } + ], + "_prefab": { + "__id__": 1660 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -10, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.45, + "y": 0.45, + "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__": 1655 + }, + "_enabled": true, + "__prefab": { + "__id__": 1657 }, "_contentSize": { "__type__": "cc.Size", @@ -35347,7 +35949,7 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_id": "" @@ -35362,11 +35964,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1629 + "__id__": 1655 }, "_enabled": true, "__prefab": { - "__id__": 1633 + "__id__": 1659 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -35423,30 +36025,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1628 + "__id__": 1646 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1636 + "__id__": 1662 }, { - "__id__": 1638 + "__id__": 1664 }, { - "__id__": 1640 + "__id__": 1666 }, { - "__id__": 1642 + "__id__": 1668 } ], "_prefab": { - "__id__": 1644 + "__id__": 1670 }, "_lpos": { "__type__": "cc.Vec3", - "x": 20, + "x": 93.546, "y": 0, "z": 0 }, @@ -35479,20 +36081,20 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1635 + "__id__": 1661 }, "_enabled": true, "__prefab": { - "__id__": 1637 + "__id__": 1663 }, "_contentSize": { "__type__": "cc.Size", - "width": 80, + "width": 120, "height": 35 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, + "x": 0.5, "y": 0.5 }, "_id": "" @@ -35507,11 +36109,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1635 + "__id__": 1661 }, "_enabled": true, "__prefab": { - "__id__": 1639 + "__id__": 1665 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -35524,10 +36126,10 @@ "a": 255 }, "_string": "{{0:int}}", - "_horizontalAlign": 0, + "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 21, - "_fontSize": 30, + "_actualFontSize": 20, + "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 35, "_overflow": 2, @@ -35575,19 +36177,19 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1635 + "__id__": 1661 }, "_enabled": true, "__prefab": { - "__id__": 1641 + "__id__": 1667 }, - "_alignFlags": 18, + "_alignFlags": 10, "_target": null, - "_left": -15, + "_left": 33.54600000000001, "_right": -15, "_top": 0, "_bottom": 0, - "_horizontalCenter": -15, + "_horizontalCenter": 5, "_verticalCenter": 0, "_isAbsLeft": true, "_isAbsRight": true, @@ -35611,11 +36213,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1635 + "__id__": 1661 }, "_enabled": true, "__prefab": { - "__id__": 1643 + "__id__": 1669 }, "templateMode": true, "watchPath": "data.data.diamond", @@ -35642,21 +36244,475 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "add", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1646 + }, + "_children": [ + { + "__id__": 1672 + }, + { + "__id__": 1678 + } + ], + "_active": true, + "_components": [ + { + "__id__": 1684 + }, + { + "__id__": 1686 + }, + { + "__id__": 1688 + } + ], + "_prefab": { + "__id__": 1690 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 178, + "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": "ResourceBar_01_White_Add_Icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1671 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1673 + }, + { + "__id__": 1675 + } + ], + "_prefab": { + "__id__": 1677 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "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__": 1628 + "__id__": 1672 }, "_enabled": true, "__prefab": { - "__id__": 1646 + "__id__": 1674 }, "_contentSize": { "__type__": "cc.Size", - "width": 150, + "width": 24, + "height": 24 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71ueU+H7tPA5wlIOAZRsH1" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1672 + }, + "_enabled": true, + "__prefab": { + "__id__": 1676 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@180fb", + "__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": "caO0tZMgZCQInOFI1u65YJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "79i5kwTo1AyKJt4kJuThkR", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "ResourceBar_01_White_Add_IconBorder", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1671 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1679 + }, + { + "__id__": 1681 + } + ], + "_prefab": { + "__id__": 1683 + }, + "_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__": 1678 + }, + "_enabled": true, + "__prefab": { + "__id__": 1680 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 28, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a7/uGMudhGM4DC8F4/xOdk" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1678 + }, + "_enabled": true, + "__prefab": { + "__id__": 1682 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 48, + "g": 46, + "b": 68, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@e50c1", + "__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": "aaYnZDlQ9MZLyWqcGBJ1fU" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0bCahVCZxE3Kos8dFyUV2E", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1671 + }, + "_enabled": true, + "__prefab": { + "__id__": 1685 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e9iVw16e1C04vjFOKPd2z4" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1671 + }, + "_enabled": true, + "__prefab": { + "__id__": 1687 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@8e19b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "58jKu+QulOLrB5/s9zG9c9" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1671 + }, + "_enabled": true, + "__prefab": { + "__id__": 1689 + }, + "_alignFlags": 32, + "_target": null, + "_left": 48, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 54, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dcZjXR/etDmKX4LmOBNJHt" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2etRxCTwZMI7yVe/hoHqFA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1646 + }, + "_enabled": true, + "__prefab": { + "__id__": 1692 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, "height": 50 }, "_anchorPoint": { @@ -35689,28 +36745,34 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1605 + "__id__": 1597 }, "_children": [ { - "__id__": 1649 + "__id__": 1695 }, { - "__id__": 1655 + "__id__": 1703 + }, + { + "__id__": 1709 + }, + { + "__id__": 1719 } ], - "_active": true, + "_active": false, "_components": [ { - "__id__": 1665 + "__id__": 1739 } ], "_prefab": { - "__id__": 1667 + "__id__": 1741 }, "_lpos": { "__type__": "cc.Vec3", - "x": 15, + "x": 4, "y": 0, "z": 0 }, @@ -35739,28 +36801,31 @@ }, { "__type__": "cc.Node", - "_name": "ItemIcon_Ticket_Gold", + "_name": "ResourceBar_01_White_Add_Bg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1648 + "__id__": 1694 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1650 + "__id__": 1696 }, { - "__id__": 1652 + "__id__": 1698 + }, + { + "__id__": 1700 } ], "_prefab": { - "__id__": 1654 + "__id__": 1702 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, + "x": 90, "y": 0, "z": 0 }, @@ -35773,8 +36838,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -35793,11 +36858,183 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1649 + "__id__": 1695 }, "_enabled": true, "__prefab": { - "__id__": 1651 + "__id__": 1697 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 160, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "abpxLEKllLWa2rT+p3KSHz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1695 + }, + "_enabled": true, + "__prefab": { + "__id__": 1699 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 26, + "g": 21, + "b": 45, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@549c9", + "__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": "f21MPfbZZIppwcgKlquaEI" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1695 + }, + "_enabled": true, + "__prefab": { + "__id__": 1701 + }, + "_alignFlags": 40, + "_target": null, + "_left": 10, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 54, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "abNYNQ5IFAYopMQlzrhMmb" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ebIBkhh5BMiILTbTKEtAr5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1694 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1704 + }, + { + "__id__": 1706 + } + ], + "_prefab": { + "__id__": 1708 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -10, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.45, + "y": 0.45, + "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__": 1703 + }, + "_enabled": true, + "__prefab": { + "__id__": 1705 }, "_contentSize": { "__type__": "cc.Size", @@ -35806,7 +37043,7 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_id": "" @@ -35821,11 +37058,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1649 + "__id__": 1703 }, "_enabled": true, "__prefab": { - "__id__": 1653 + "__id__": 1707 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -35882,30 +37119,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1648 + "__id__": 1694 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1656 + "__id__": 1710 }, { - "__id__": 1658 + "__id__": 1712 }, { - "__id__": 1660 + "__id__": 1714 }, { - "__id__": 1662 + "__id__": 1716 } ], "_prefab": { - "__id__": 1664 + "__id__": 1718 }, "_lpos": { "__type__": "cc.Vec3", - "x": 13.768999999999998, + "x": 40.502, "y": 0, "z": 0 }, @@ -35938,15 +37175,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1655 + "__id__": 1709 }, "_enabled": true, "__prefab": { - "__id__": 1657 + "__id__": 1711 }, "_contentSize": { "__type__": "cc.Size", - "width": 80, + "width": 110, "height": 35 }, "_anchorPoint": { @@ -35966,11 +37203,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1655 + "__id__": 1709 }, "_enabled": true, "__prefab": { - "__id__": 1659 + "__id__": 1713 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -35985,8 +37222,8 @@ "_string": "{{0:kmbt}}", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 16, - "_fontSize": 30, + "_actualFontSize": 20, + "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 35, "_overflow": 2, @@ -36034,19 +37271,19 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1655 + "__id__": 1709 }, "_enabled": true, "__prefab": { - "__id__": 1661 + "__id__": 1715 }, - "_alignFlags": 18, + "_alignFlags": 10, "_target": null, - "_left": -15, + "_left": 40.502, "_right": -15, "_top": 0, "_bottom": 0, - "_horizontalCenter": -21.231, + "_horizontalCenter": 5, "_verticalCenter": 0, "_isAbsLeft": true, "_isAbsRight": true, @@ -36070,11 +37307,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1655 + "__id__": 1709 }, "_enabled": true, "__prefab": { - "__id__": 1663 + "__id__": 1717 }, "templateMode": true, "watchPath": "data.data.meat", @@ -36101,21 +37338,475 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "add", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1694 + }, + "_children": [ + { + "__id__": 1720 + }, + { + "__id__": 1726 + } + ], + "_active": true, + "_components": [ + { + "__id__": 1732 + }, + { + "__id__": 1734 + }, + { + "__id__": 1736 + } + ], + "_prefab": { + "__id__": 1738 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 148, + "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": "ResourceBar_01_White_Add_Icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1719 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1721 + }, + { + "__id__": 1723 + } + ], + "_prefab": { + "__id__": 1725 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "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__": 1648 + "__id__": 1720 }, "_enabled": true, "__prefab": { - "__id__": 1666 + "__id__": 1722 }, "_contentSize": { "__type__": "cc.Size", - "width": 150, + "width": 24, + "height": 24 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7aSCWCO8JNp7letx/KvoMx" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1720 + }, + "_enabled": true, + "__prefab": { + "__id__": 1724 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@180fb", + "__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": "28ncD9V01Ln7Y+WyQiRr55" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5cpt0Zv85DbpdHdJvlfd5/", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "ResourceBar_01_White_Add_IconBorder", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1719 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1727 + }, + { + "__id__": 1729 + } + ], + "_prefab": { + "__id__": 1731 + }, + "_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__": 1726 + }, + "_enabled": true, + "__prefab": { + "__id__": 1728 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 28, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "725g19qG1J27DN7t84ZJh4" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1726 + }, + "_enabled": true, + "__prefab": { + "__id__": 1730 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 48, + "g": 46, + "b": 68, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@e50c1", + "__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": "69R0WneDVHErYR17LZM36Q" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "13Je9nJ65DibvfDX8LnD6U", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1719 + }, + "_enabled": true, + "__prefab": { + "__id__": 1733 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "94DOisXUxNdImZnKsmwQy2" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1719 + }, + "_enabled": true, + "__prefab": { + "__id__": 1735 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@8e19b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7fZa9NwhdB359LUG9ke9i0" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1719 + }, + "_enabled": true, + "__prefab": { + "__id__": 1737 + }, + "_alignFlags": 32, + "_target": null, + "_left": 48, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 54, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "45fZ+1r2xBtZ4RF6iJxRYw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ae3lKdeu9CgKmOuGvYNizL", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1694 + }, + "_enabled": true, + "__prefab": { + "__id__": 1740 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 170, "height": 50 }, "_anchorPoint": { @@ -36148,28 +37839,34 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1605 + "__id__": 1597 }, "_children": [ { - "__id__": 1669 + "__id__": 1743 }, { - "__id__": 1675 + "__id__": 1751 + }, + { + "__id__": 1757 + }, + { + "__id__": 1767 } ], "_active": true, "_components": [ { - "__id__": 1685 + "__id__": 1787 } ], "_prefab": { - "__id__": 1687 + "__id__": 1789 }, "_lpos": { "__type__": "cc.Vec3", - "x": 165, + "x": 80, "y": 0, "z": 0 }, @@ -36198,28 +37895,31 @@ }, { "__type__": "cc.Node", - "_name": "ItemIcon_Ticket_Gold", + "_name": "ResourceBar_01_White_Add_Bg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1668 + "__id__": 1742 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1670 + "__id__": 1744 }, { - "__id__": 1672 + "__id__": 1746 + }, + { + "__id__": 1748 } ], "_prefab": { - "__id__": 1674 + "__id__": 1750 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, + "x": 105, "y": 0, "z": 0 }, @@ -36232,8 +37932,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -36252,11 +37952,183 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1669 + "__id__": 1743 }, "_enabled": true, "__prefab": { - "__id__": 1671 + "__id__": 1745 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 190, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9810a+pttPDKHUr4MwwB5g" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1743 + }, + "_enabled": true, + "__prefab": { + "__id__": 1747 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 26, + "g": 21, + "b": 45, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@549c9", + "__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": "e1dPqRa/tBx5+lhCpIfABj" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1743 + }, + "_enabled": true, + "__prefab": { + "__id__": 1749 + }, + "_alignFlags": 40, + "_target": null, + "_left": 10, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 54, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "aaoNc8kshNbZZfrxxkdcb1" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bbVzUbzxlFPaNtYNSHAiJq", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1742 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1752 + }, + { + "__id__": 1754 + } + ], + "_prefab": { + "__id__": 1756 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -10, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.45, + "y": 0.45, + "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__": 1751 + }, + "_enabled": true, + "__prefab": { + "__id__": 1753 }, "_contentSize": { "__type__": "cc.Size", @@ -36265,7 +38137,7 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_id": "" @@ -36280,11 +38152,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1669 + "__id__": 1751 }, "_enabled": true, "__prefab": { - "__id__": 1673 + "__id__": 1755 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -36341,30 +38213,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1668 + "__id__": 1742 }, "_children": [], "_active": true, "_components": [ { - "__id__": 1676 + "__id__": 1758 }, { - "__id__": 1678 + "__id__": 1760 }, { - "__id__": 1680 + "__id__": 1762 }, { - "__id__": 1682 + "__id__": 1764 } ], "_prefab": { - "__id__": 1684 + "__id__": 1766 }, "_lpos": { "__type__": "cc.Vec3", - "x": 4.631999999999998, + "x": 93.546, "y": 0, "z": 0 }, @@ -36397,20 +38269,20 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1675 + "__id__": 1757 }, "_enabled": true, "__prefab": { - "__id__": 1677 + "__id__": 1759 }, "_contentSize": { "__type__": "cc.Size", - "width": 80, + "width": 120, "height": 35 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, + "x": 0.5, "y": 0.5 }, "_id": "" @@ -36425,11 +38297,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1675 + "__id__": 1757 }, "_enabled": true, "__prefab": { - "__id__": 1679 + "__id__": 1761 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -36442,10 +38314,10 @@ "a": 255 }, "_string": "{{0:int}}", - "_horizontalAlign": 0, + "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 21, - "_fontSize": 30, + "_actualFontSize": 20, + "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 35, "_overflow": 2, @@ -36493,19 +38365,19 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1675 + "__id__": 1757 }, "_enabled": true, "__prefab": { - "__id__": 1681 + "__id__": 1763 }, - "_alignFlags": 18, + "_alignFlags": 10, "_target": null, - "_left": -15, + "_left": 33.54600000000001, "_right": -15, "_top": 0, "_bottom": 0, - "_horizontalCenter": -30.368000000000002, + "_horizontalCenter": 5, "_verticalCenter": 0, "_isAbsLeft": true, "_isAbsRight": true, @@ -36529,11 +38401,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1675 + "__id__": 1757 }, "_enabled": true, "__prefab": { - "__id__": 1683 + "__id__": 1765 }, "templateMode": true, "watchPath": "", @@ -36560,21 +38432,475 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "add", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1742 + }, + "_children": [ + { + "__id__": 1768 + }, + { + "__id__": 1774 + } + ], + "_active": true, + "_components": [ + { + "__id__": 1780 + }, + { + "__id__": 1782 + }, + { + "__id__": 1784 + } + ], + "_prefab": { + "__id__": 1786 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 178, + "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": "ResourceBar_01_White_Add_Icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1767 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1769 + }, + { + "__id__": 1771 + } + ], + "_prefab": { + "__id__": 1773 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "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__": 1668 + "__id__": 1768 }, "_enabled": true, "__prefab": { - "__id__": 1686 + "__id__": 1770 }, "_contentSize": { "__type__": "cc.Size", - "width": 150, + "width": 24, + "height": 24 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bfiC0cl4NOzZTKsoxO/eCr" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1768 + }, + "_enabled": true, + "__prefab": { + "__id__": 1772 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@180fb", + "__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": "27C5SMK1FBq5ZjExpPcXJq" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "dcOTq94zJP/Y3h0pk35iEx", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "ResourceBar_01_White_Add_IconBorder", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1767 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 1775 + }, + { + "__id__": 1777 + } + ], + "_prefab": { + "__id__": 1779 + }, + "_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__": 1774 + }, + "_enabled": true, + "__prefab": { + "__id__": 1776 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 28, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e7KC7zF5JOoIUUa8XIBfjW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1774 + }, + "_enabled": true, + "__prefab": { + "__id__": 1778 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 48, + "g": 46, + "b": 68, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@e50c1", + "__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": "59KKw3RRZKIpM3aqq94cq9" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "811/7cdFBLhKmtcN7Aaj5p", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1767 + }, + "_enabled": true, + "__prefab": { + "__id__": 1781 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4fvZTJrWdGWKAzbUXpwqHB" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1767 + }, + "_enabled": true, + "__prefab": { + "__id__": 1783 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@8e19b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "14dkDsmlVGa6AjlbMPxYat" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1767 + }, + "_enabled": true, + "__prefab": { + "__id__": 1785 + }, + "_alignFlags": 32, + "_target": null, + "_left": 48, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 54, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "96i2bO8fNHjIdcjhSC15Tw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2ckHxogMNHMLURCFueYzzj", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1742 + }, + "_enabled": true, + "__prefab": { + "__id__": 1788 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, "height": 50 }, "_anchorPoint": { @@ -36607,15 +38933,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1605 + "__id__": 1597 }, "_enabled": true, "__prefab": { - "__id__": 1689 + "__id__": 1791 }, "_contentSize": { "__type__": "cc.Size", - "width": 630, + "width": 700, "height": 100 }, "_anchorPoint": { @@ -36635,15 +38961,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1605 + "__id__": 1597 }, "_enabled": true, "__prefab": { - "__id__": 1691 + "__id__": 1793 }, "_alignFlags": 8, "_target": null, - "_left": 36.33999999999999, + "_left": 10, "_right": 0, "_top": 0, "_bottom": 0, @@ -36671,13 +38997,13 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1605 + "__id__": 1597 }, "_enabled": true, "__prefab": { - "__id__": 1693 + "__id__": 1795 }, - "_resizeMode": 1, + "_resizeMode": 0, "_layoutType": 1, "_cellSize": { "__type__": "cc.Size", @@ -36685,11 +39011,11 @@ "height": 40 }, "_startAxis": 0, - "_paddingLeft": 30, + "_paddingLeft": 0, "_paddingRight": 0, "_paddingTop": 0, "_paddingBottom": 0, - "_spacingX": 0, + "_spacingX": 15, "_spacingY": 0, "_verticalDirection": 1, "_horizontalDirection": 0, @@ -36703,6 +39029,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "c2sUzLq/ZBc7by/MFkMZjz" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1597 + }, + "_enabled": true, + "__prefab": { + "__id__": 1797 + }, + "_alignFlags": 40, + "_target": null, + "_left": 4082.16, + "_right": 4064.84, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 615, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ee9P3ogUFB67xneveHlbOy" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -36728,11 +39090,11 @@ "_active": true, "_components": [ { - "__id__": 1696 + "__id__": 1800 } ], "_prefab": { - "__id__": 1698 + "__id__": 1802 }, "_lpos": { "__type__": "cc.Vec3", @@ -36769,11 +39131,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 1695 + "__id__": 1799 }, "_enabled": true, "__prefab": { - "__id__": 1697 + "__id__": 1801 }, "_contentSize": { "__type__": "cc.Size", @@ -36814,7 +39176,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1700 + "__id__": 1804 }, "_contentSize": { "__type__": "cc.Size", @@ -36842,13 +39204,13 @@ }, "_enabled": true, "__prefab": { - "__id__": 1702 + "__id__": 1806 }, "_alignFlags": 17, "_target": null, "_left": -2.8089999999999886, "_right": 2.8089999999999886, - "_top": 60, + "_top": 49.771999999999935, "_bottom": 1187.74, "_horizontalCenter": 0, "_verticalCenter": 0, @@ -36891,7 +39253,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1705 + "__id__": 1809 }, "_contentSize": { "__type__": "cc.Size", @@ -36919,7 +39281,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1707 + "__id__": 1811 }, "_alignFlags": 45, "_target": null, @@ -36955,7 +39317,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 1709 + "__id__": 1813 }, "_id": "" }, @@ -36975,7 +39337,7 @@ "instance": null, "targetOverrides": [ { - "__id__": 1711 + "__id__": 1815 } ], "nestedPrefabInstanceRoots": [ @@ -37011,14 +39373,14 @@ "__id__": 1183 }, "sourceInfo": { - "__id__": 1712 + "__id__": 1816 }, "propertyPath": [], "target": { "__id__": 1183 }, "targetInfo": { - "__id__": 1713 + "__id__": 1817 } }, { diff --git a/assets/resources/gui/ui1.plist.meta b/assets/resources/gui/ui1.plist.meta index 8206767a..f18ff7f3 100644 --- a/assets/resources/gui/ui1.plist.meta +++ b/assets/resources/gui/ui1.plist.meta @@ -12905,10 +12905,10 @@ "height": 54, "rawWidth": 54, "rawHeight": 54, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderTop": 27, + "borderBottom": 27, + "borderLeft": 27, + "borderRight": 27, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5, diff --git a/assets/script/game/map/VictoryComp.ts b/assets/script/game/map/VictoryComp.ts index ccdf9a8a..88cc9373 100644 --- a/assets/script/game/map/VictoryComp.ts +++ b/assets/script/game/map/VictoryComp.ts @@ -35,6 +35,9 @@ export class VictoryComp extends CCComp { this.add_reward(args.rewards) this.rewards=args.rewards } + this.node.getChildByName("box").getChildByName("exp").getChildByName("num").getComponent(Label)!.string="x"+this.game_data["exp"].toString() + this.node.getChildByName("box").getChildByName("gold").getChildByName("num").getComponent(Label)!.string="x"+this.game_data["gold"].toString() + this.node.getChildByName("box").getChildByName("diamond").getChildByName("num").getComponent(Label)!.string="x"+this.game_data["diamond"].toString() this.node.getChildByName("title").getChildByName("victory").active=args.victory this.node.getChildByName("title").getChildByName("defeat").active=!args.victory this.node.getChildByName("btns").getChildByName("next").active=false diff --git a/assets/script/game/wx_clound_client_api/USAGE.md b/assets/script/game/wx_clound_client_api/USAGE.md index 6ea8caf8..aa8dae96 100644 --- a/assets/script/game/wx_clound_client_api/USAGE.md +++ b/assets/script/game/wx_clound_client_api/USAGE.md @@ -444,3 +444,4 @@ export class GameDataManager { + diff --git a/build-templates/wechatgame/cloud_functions/cocos_cloud/API.md b/build-templates/wechatgame/cloud_functions/cocos_cloud/API.md index 2ffa21f8..8d7e9247 100644 --- a/build-templates/wechatgame/cloud_functions/cocos_cloud/API.md +++ b/build-templates/wechatgame/cloud_functions/cocos_cloud/API.md @@ -914,3 +914,4 @@ wx.cloud.callFunction({ + diff --git a/build-templates/wechatgame/cloud_functions/cocos_cloud/modules/response.js b/build-templates/wechatgame/cloud_functions/cocos_cloud/modules/response.js index 78ee6415..550d62cb 100644 --- a/build-templates/wechatgame/cloud_functions/cocos_cloud/modules/response.js +++ b/build-templates/wechatgame/cloud_functions/cocos_cloud/modules/response.js @@ -268,3 +268,4 @@ module.exports = { +