From aa358d2e01b7c20d7734f72e8642141fbaea260a Mon Sep 17 00:00:00 2001 From: xlj <543978819@qq.com> Date: Wed, 10 Sep 2025 18:38:20 +0800 Subject: [PATCH] update --- assets/Scenes/MainScene.scene | 1809 +++++++++++++++-- .../Scripts/chat18x/ui/panels/SettingPanel.ts | 40 + .../chat18x/ui/panels/SettingPanel.ts.meta | 9 + .../ui/panels}/SimpleLanguagePanel.ts | 8 +- .../ui/panels}/SimpleLanguagePanel.ts.meta | 0 5 files changed, 1674 insertions(+), 192 deletions(-) create mode 100644 assets/Scripts/chat18x/ui/panels/SettingPanel.ts create mode 100644 assets/Scripts/chat18x/ui/panels/SettingPanel.ts.meta rename assets/Scripts/{Sub/UI => chat18x/ui/panels}/SimpleLanguagePanel.ts (95%) rename assets/Scripts/{Sub/UI => chat18x/ui/panels}/SimpleLanguagePanel.ts.meta (100%) diff --git a/assets/Scenes/MainScene.scene b/assets/Scenes/MainScene.scene index 594a9558..023d2e41 100644 --- a/assets/Scenes/MainScene.scene +++ b/assets/Scenes/MainScene.scene @@ -23,7 +23,7 @@ "_active": true, "_components": [], "_prefab": { - "__id__": 115 + "__id__": 151 }, "_lpos": { "__type__": "cc.Vec3", @@ -54,7 +54,7 @@ }, "autoReleaseAssets": false, "_globals": { - "__id__": 116 + "__id__": 152 }, "_id": "1a23cd3e-e487-4fd1-a415-346c2087464d" }, @@ -77,22 +77,22 @@ "__id__": 22 }, { - "__id__": 108 + "__id__": 144 } ], "_active": true, "_components": [ { - "__id__": 111 + "__id__": 147 }, { - "__id__": 112 + "__id__": 148 }, { - "__id__": 113 + "__id__": 149 }, { - "__id__": 114 + "__id__": 150 } ], "_prefab": null, @@ -742,10 +742,10 @@ "_active": true, "_components": [ { - "__id__": 106 + "__id__": 142 }, { - "__id__": 107 + "__id__": 143 } ], "_prefab": null, @@ -780,7 +780,7 @@ }, { "__type__": "cc.Node", - "_name": "Node", + "_name": "Setting", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -791,16 +791,19 @@ "__id__": 24 }, { - "__id__": 32 + "__id__": 33 }, { - "__id__": 35 + "__id__": 36 } ], "_active": true, "_components": [ { - "__id__": 105 + "__id__": 140 + }, + { + "__id__": 141 } ], "_prefab": null, @@ -853,13 +856,16 @@ "_components": [ { "__id__": 31 + }, + { + "__id__": 32 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 331.69900000000007, + "y": 0, "z": 0 }, "_lrot": { @@ -907,7 +913,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 0, + "y": 451.0329999999999, "z": 0 }, "_lrot": { @@ -946,12 +952,12 @@ "_contentSize": { "__type__": "cc.Size", "width": 865, - "height": 900 + "height": 607.4 }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5 + "y": 1 }, "_id": "12B5zrZMNFgLdAPWmXdlp2" }, @@ -1115,8 +1121,8 @@ "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 865, + "height": 900 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1125,6 +1131,36 @@ }, "_id": "4bB3lK0bRMXIjwRKHXt47i" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_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": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "b6h3a/99dAzKfVvTxniViD" + }, { "__type__": "cc.Node", "_name": "title", @@ -1137,17 +1173,17 @@ "_active": true, "_components": [ { - "__id__": 33 + "__id__": 34 }, { - "__id__": 34 + "__id__": 35 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 715.8810000000001, + "y": 387.23900000000003, "z": 0 }, "_lrot": { @@ -1179,7 +1215,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 32 + "__id__": 33 }, "_enabled": true, "__prefab": null, @@ -1201,7 +1237,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 32 + "__id__": 33 }, "_enabled": true, "__prefab": null, @@ -1267,26 +1303,26 @@ }, "_children": [ { - "__id__": 36 + "__id__": 37 }, { - "__id__": 64 + "__id__": 65 }, { - "__id__": 92 + "__id__": 93 } ], "_active": true, "_components": [ { - "__id__": 104 + "__id__": 139 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 0, + "y": -293.807, "z": 0 }, "_lrot": { @@ -1318,23 +1354,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 36 }, "_children": [ { - "__id__": 37 + "__id__": 38 }, { - "__id__": 59 + "__id__": 60 } ], "_active": true, "_components": [ { - "__id__": 62 + "__id__": 63 }, { - "__id__": 63 + "__id__": 64 } ], "_prefab": null, @@ -1373,26 +1409,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 36 + "__id__": 37 }, "_children": [ { - "__id__": 38 + "__id__": 39 }, { - "__id__": 47 + "__id__": 48 } ], "_active": true, "_components": [ - { - "__id__": 56 - }, { "__id__": 57 }, { "__id__": 58 + }, + { + "__id__": 59 } ], "_prefab": null, @@ -1431,23 +1467,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 37 + "__id__": 38 }, "_children": [ { - "__id__": 39 + "__id__": 40 }, { - "__id__": 42 + "__id__": 43 } ], "_active": true, "_components": [ { - "__id__": 45 + "__id__": 46 }, { - "__id__": 46 + "__id__": 47 } ], "_prefab": null, @@ -1486,16 +1522,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 38 + "__id__": 39 }, "_children": [], "_active": true, "_components": [ { - "__id__": 40 + "__id__": 41 }, { - "__id__": 41 + "__id__": 42 } ], "_prefab": null, @@ -1534,7 +1570,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 39 + "__id__": 40 }, "_enabled": true, "__prefab": null, @@ -1556,7 +1592,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 39 + "__id__": 40 }, "_enabled": true, "__prefab": null, @@ -1621,16 +1657,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 38 + "__id__": 39 }, "_children": [], "_active": true, "_components": [ { - "__id__": 43 + "__id__": 44 }, { - "__id__": 44 + "__id__": 45 } ], "_prefab": null, @@ -1669,7 +1705,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 42 + "__id__": 43 }, "_enabled": true, "__prefab": null, @@ -1691,7 +1727,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 42 + "__id__": 43 }, "_enabled": true, "__prefab": null, @@ -1756,7 +1792,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 38 + "__id__": 39 }, "_enabled": true, "__prefab": null, @@ -1778,7 +1814,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 38 + "__id__": 39 }, "_enabled": true, "__prefab": null, @@ -1817,23 +1853,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 37 + "__id__": 38 }, "_children": [ { - "__id__": 48 + "__id__": 49 }, { - "__id__": 51 + "__id__": 52 } ], "_active": true, "_components": [ { - "__id__": 54 + "__id__": 55 }, { - "__id__": 55 + "__id__": 56 } ], "_prefab": null, @@ -1872,16 +1908,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 47 + "__id__": 48 }, "_children": [], "_active": true, "_components": [ { - "__id__": 49 + "__id__": 50 }, { - "__id__": 50 + "__id__": 51 } ], "_prefab": null, @@ -1920,7 +1956,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 48 + "__id__": 49 }, "_enabled": true, "__prefab": null, @@ -1942,7 +1978,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 48 + "__id__": 49 }, "_enabled": true, "__prefab": null, @@ -2007,16 +2043,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 47 + "__id__": 48 }, "_children": [], "_active": true, "_components": [ { - "__id__": 52 + "__id__": 53 }, { - "__id__": 53 + "__id__": 54 } ], "_prefab": null, @@ -2055,7 +2091,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 51 + "__id__": 52 }, "_enabled": true, "__prefab": null, @@ -2077,7 +2113,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 51 + "__id__": 52 }, "_enabled": true, "__prefab": null, @@ -2142,7 +2178,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 47 + "__id__": 48 }, "_enabled": true, "__prefab": null, @@ -2164,7 +2200,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 47 + "__id__": 48 }, "_enabled": true, "__prefab": null, @@ -2203,7 +2239,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 37 + "__id__": 38 }, "_enabled": true, "__prefab": null, @@ -2225,7 +2261,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 37 + "__id__": 38 }, "_enabled": true, "__prefab": null, @@ -2264,7 +2300,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 37 + "__id__": 38 }, "_enabled": true, "__prefab": null, @@ -2314,16 +2350,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 36 + "__id__": 37 }, "_children": [], "_active": true, "_components": [ { - "__id__": 60 + "__id__": 61 }, { - "__id__": 61 + "__id__": 62 } ], "_prefab": null, @@ -2362,14 +2398,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 59 + "__id__": 60 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", "width": 141.01171875, - "height": 50.4 + "height": 75.22200000000001 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2384,7 +2420,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 59 + "__id__": 60 }, "_enabled": true, "__prefab": null, @@ -2404,7 +2440,7 @@ "_actualFontSize": 54, "_fontSize": 54, "_fontFamily": "Arial", - "_lineHeight": 40, + "_lineHeight": 59.7, "_overflow": 0, "_enableWrapText": true, "_font": { @@ -2449,7 +2485,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 36 + "__id__": 37 }, "_enabled": true, "__prefab": null, @@ -2471,7 +2507,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 36 + "__id__": 37 }, "_enabled": false, "__prefab": null, @@ -2510,23 +2546,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 36 }, "_children": [ { - "__id__": 65 + "__id__": 66 }, { - "__id__": 87 + "__id__": 88 } ], "_active": true, "_components": [ { - "__id__": 90 + "__id__": 91 }, { - "__id__": 91 + "__id__": 92 } ], "_prefab": null, @@ -2565,26 +2601,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 64 + "__id__": 65 }, "_children": [ { - "__id__": 66 + "__id__": 67 }, { - "__id__": 75 + "__id__": 76 } ], "_active": true, "_components": [ - { - "__id__": 84 - }, { "__id__": 85 }, { "__id__": 86 + }, + { + "__id__": 87 } ], "_prefab": null, @@ -2623,23 +2659,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 65 + "__id__": 66 }, "_children": [ { - "__id__": 67 + "__id__": 68 }, { - "__id__": 70 + "__id__": 71 } ], "_active": true, "_components": [ { - "__id__": 73 + "__id__": 74 }, { - "__id__": 74 + "__id__": 75 } ], "_prefab": null, @@ -2678,16 +2714,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 66 + "__id__": 67 }, "_children": [], "_active": true, "_components": [ { - "__id__": 68 + "__id__": 69 }, { - "__id__": 69 + "__id__": 70 } ], "_prefab": null, @@ -2726,7 +2762,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 67 + "__id__": 68 }, "_enabled": true, "__prefab": null, @@ -2748,7 +2784,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 67 + "__id__": 68 }, "_enabled": true, "__prefab": null, @@ -2813,16 +2849,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 66 + "__id__": 67 }, "_children": [], "_active": true, "_components": [ { - "__id__": 71 + "__id__": 72 }, { - "__id__": 72 + "__id__": 73 } ], "_prefab": null, @@ -2861,7 +2897,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 70 + "__id__": 71 }, "_enabled": true, "__prefab": null, @@ -2883,7 +2919,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 70 + "__id__": 71 }, "_enabled": true, "__prefab": null, @@ -2948,7 +2984,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 66 + "__id__": 67 }, "_enabled": true, "__prefab": null, @@ -2970,7 +3006,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 66 + "__id__": 67 }, "_enabled": true, "__prefab": null, @@ -3009,23 +3045,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 65 + "__id__": 66 }, "_children": [ { - "__id__": 76 + "__id__": 77 }, { - "__id__": 79 + "__id__": 80 } ], "_active": true, "_components": [ { - "__id__": 82 + "__id__": 83 }, { - "__id__": 83 + "__id__": 84 } ], "_prefab": null, @@ -3064,16 +3100,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 75 + "__id__": 76 }, "_children": [], "_active": true, "_components": [ { - "__id__": 77 + "__id__": 78 }, { - "__id__": 78 + "__id__": 79 } ], "_prefab": null, @@ -3112,7 +3148,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 76 + "__id__": 77 }, "_enabled": true, "__prefab": null, @@ -3134,7 +3170,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 76 + "__id__": 77 }, "_enabled": true, "__prefab": null, @@ -3199,16 +3235,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 75 + "__id__": 76 }, "_children": [], "_active": true, "_components": [ { - "__id__": 80 + "__id__": 81 }, { - "__id__": 81 + "__id__": 82 } ], "_prefab": null, @@ -3247,7 +3283,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 80 }, "_enabled": true, "__prefab": null, @@ -3269,7 +3305,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 80 }, "_enabled": true, "__prefab": null, @@ -3334,7 +3370,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 75 + "__id__": 76 }, "_enabled": true, "__prefab": null, @@ -3356,7 +3392,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 75 + "__id__": 76 }, "_enabled": true, "__prefab": null, @@ -3395,7 +3431,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 65 + "__id__": 66 }, "_enabled": true, "__prefab": null, @@ -3417,7 +3453,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 65 + "__id__": 66 }, "_enabled": true, "__prefab": null, @@ -3456,7 +3492,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 65 + "__id__": 66 }, "_enabled": true, "__prefab": null, @@ -3506,16 +3542,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 64 + "__id__": 65 }, "_children": [], "_active": true, "_components": [ { - "__id__": 88 + "__id__": 89 }, { - "__id__": 89 + "__id__": 90 } ], "_prefab": null, @@ -3554,14 +3590,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 87 + "__id__": 88 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", "width": 156.146484375, - "height": 50.4 + "height": 75.22200000000001 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3576,7 +3612,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 87 + "__id__": 88 }, "_enabled": true, "__prefab": null, @@ -3596,7 +3632,7 @@ "_actualFontSize": 54, "_fontSize": 54, "_fontFamily": "Arial", - "_lineHeight": 40, + "_lineHeight": 59.7, "_overflow": 0, "_enableWrapText": true, "_font": { @@ -3641,7 +3677,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 64 + "__id__": 65 }, "_enabled": true, "__prefab": null, @@ -3663,7 +3699,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 64 + "__id__": 65 }, "_enabled": false, "__prefab": null, @@ -3702,26 +3738,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 36 }, "_children": [ { - "__id__": 93 + "__id__": 94 }, { - "__id__": 96 + "__id__": 113 }, { - "__id__": 99 + "__id__": 116 } ], "_active": true, "_components": [ { - "__id__": 102 + "__id__": 137 }, { - "__id__": 103 + "__id__": 138 } ], "_prefab": null, @@ -3756,20 +3792,30 @@ }, { "__type__": "cc.Node", - "_name": "矩形 8 拷贝 3", + "_name": "btn", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 92 + "__id__": 93 }, - "_children": [], + "_children": [ + { + "__id__": 95 + }, + { + "__id__": 103 + }, + { + "__id__": 106 + }, + { + "__id__": 109 + } + ], "_active": true, "_components": [ { - "__id__": 94 - }, - { - "__id__": 95 + "__id__": 112 } ], "_prefab": null, @@ -3800,6 +3846,106 @@ "y": 0, "z": 0 }, + "_id": "f0Zp+NUJlC3KdRCps/uteg" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 94 + }, + "_children": [ + { + "__id__": 96 + }, + { + "__id__": 99 + } + ], + "_active": true, + "_components": [ + { + "__id__": 102 + } + ], + "_prefab": null, + "_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": "983pvXUZlD6KxWkM6mJP8m" + }, + { + "__type__": "cc.Node", + "_name": "矩形 8 拷贝 3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 95 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 97 + }, + { + "__id__": 98 + } + ], + "_prefab": null, + "_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": "f2yyLXrHhIMaNcZkSJRuG9" }, { @@ -3808,7 +3954,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 93 + "__id__": 96 }, "_enabled": true, "__prefab": null, @@ -3830,7 +3976,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 93 + "__id__": 96 }, "_enabled": true, "__prefab": null, @@ -3869,22 +4015,22 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 92 + "__id__": 95 }, "_children": [], "_active": true, "_components": [ { - "__id__": 97 + "__id__": 100 }, { - "__id__": 98 + "__id__": 101 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": 321.712, + "x": 133.769, "y": 0, "z": 0 }, @@ -3917,7 +4063,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 96 + "__id__": 99 }, "_enabled": true, "__prefab": null, @@ -3939,7 +4085,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 96 + "__id__": 99 }, "_enabled": true, "__prefab": null, @@ -3972,22 +4118,416 @@ "_atlas": null, "_id": "ber8drBIRJOJrUQtUDhrsG" }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 95 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "65VzqNW+5IGqB26ZY/SL3A" + }, { "__type__": "cc.Node", - "_name": "text", + "_name": "up", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 92 + "__id__": 94 }, "_children": [], "_active": true, "_components": [ { - "__id__": 100 + "__id__": 104 }, { - "__id__": 101 + "__id__": 105 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 133.5709999999999, + "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": "3a6obGfWhK6aJDvK7pJRuF" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 103 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 31, + "height": 21 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a7cEc2PjJIkKBvZ7d8Vem6" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 103 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c84a48a4-acbd-415d-a694-58c79f5cb141@f9941", + "__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": "4dG7B49RhIRYR/KC34af13" + }, + { + "__type__": "cc.Node", + "_name": "down", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 94 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 107 + }, + { + "__id__": 108 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 133.5709999999999, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 1, + "w": 6.123233995736766e-17 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 180 + }, + "_id": "bbma+VQiBPuo9RfvEAQ4m8" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 106 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 31, + "height": 21 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "7bY+wTj/pJFYGAlgQIF4RF" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 106 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c84a48a4-acbd-415d-a694-58c79f5cb141@f9941", + "__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": "bdF9YKnGhE0YxSd2GDi1pU" + }, + { + "__type__": "cc.Node", + "_name": "curLanguage", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 94 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 110 + }, + { + "__id__": 111 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -38.26700000000005, + "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": "c96lhD2YVOdLGN2l+R5vr0" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 109 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 260.689063, + "height": 78.75 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "39LzlAZfFAW52gj4RlevZf" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 109 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 46, + "g": 28, + "b": 57, + "a": 255 + }, + "_string": "English", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 49, + "_fontSize": 48, + "_fontFamily": "Arial", + "_lineHeight": 62.5, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "01z6+M1UtFyoZVVK6Lpxww" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 94 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 344, + "height": 82 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b2Qz7TMDZJNaNDI9SIAs5e" + }, + { + "__type__": "cc.Node", + "_name": "text", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 93 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 114 + }, + { + "__id__": 115 } ], "_prefab": null, @@ -4026,14 +4566,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 99 + "__id__": 113 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", "width": 240.2578125, - "height": 50.4 + "height": 101.556 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4048,7 +4588,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 99 + "__id__": 113 }, "_enabled": true, "__prefab": null, @@ -4068,7 +4608,7 @@ "_actualFontSize": 54, "_fontSize": 54, "_fontFamily": "Arial", - "_lineHeight": 40, + "_lineHeight": 80.6, "_overflow": 0, "_enableWrapText": true, "_font": { @@ -4107,13 +4647,894 @@ "_shadowBlur": 2, "_id": "b3lNF7W9RErKChhlC8MKud" }, + { + "__type__": "cc.Node", + "_name": "languageSelection", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 93 + }, + "_children": [ + { + "__id__": 117 + }, + { + "__id__": 124 + }, + { + "__id__": 127 + } + ], + "_active": true, + "_components": [ + { + "__id__": 134 + }, + { + "__id__": 135 + }, + { + "__id__": 136 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 187.54600000000005, + "y": -53.72399999999993, + "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": "66Es9tne9AC65hyJKR40Y7" + }, + { + "__type__": "cc.Node", + "_name": "Language1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 116 + }, + "_children": [ + { + "__id__": 118 + } + ], + "_active": true, + "_components": [ + { + "__id__": 121 + }, + { + "__id__": 122 + }, + { + "__id__": 123 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -46.15, + "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": "3cQ3huQF1A0Id/hRtv8gxd" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 117 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 119 + }, + { + "__id__": 120 + } + ], + "_prefab": null, + "_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": "32Tq74FCRME7J3O3l1WbuO" + }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 92 + "__id__": 118 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 137.7509765625, + "height": 75.22200000000001 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5fzW2R7qBIaJ1KDjOgB5uO" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 118 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 46, + "g": 28, + "b": 57, + "a": 255 + }, + "_string": "English", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 42, + "_fontSize": 42, + "_fontFamily": "Arial", + "_lineHeight": 59.7, + "_overflow": 0, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "6fbLq1vkhISYbUrhH+4l8h" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 117 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 306.7, + "height": 72.3 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "0bV93lgxhMDrdVySOtclx8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 117 + }, + "_enabled": true, + "__prefab": null, + "_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": "9e7xIUPQtFSJyIdxaw9Vez" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 117 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 2, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 117 + }, + "_id": "5aybo6XnxJlZ0NLEMMQ4R7" + }, + { + "__type__": "cc.Node", + "_name": "seperator", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 116 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 125 + }, + { + "__id__": 126 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -87.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "60koDEUWRJ4oJpXklnXZhl" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 124 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 285, + "height": 5 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d4vteG4b5GaJMYWEFmYgat" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 124 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "abcf6b7d-4710-47a3-a316-bdabaffb2a17@f9941", + "__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": "b6fceIwFtLmLM3mV3GP/wT" + }, + { + "__type__": "cc.Node", + "_name": "Language2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 116 + }, + "_children": [ + { + "__id__": 128 + } + ], + "_active": true, + "_components": [ + { + "__id__": 131 + }, + { + "__id__": 132 + }, + { + "__id__": 133 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -128.85, + "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": "80fnunDnpCXq98PSp9nDPl" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 127 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 129 + }, + { + "__id__": 130 + } + ], + "_prefab": null, + "_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": "a3TvJyh7pD5rnLG0/rduVQ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 128 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 114.43359375, + "height": 75.22200000000001 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "65zAloULdKeJnZoc6OvCob" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 128 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 46, + "g": 28, + "b": 57, + "a": 255 + }, + "_string": "Indian", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 42, + "_fontSize": 42, + "_fontFamily": "Arial", + "_lineHeight": 59.7, + "_overflow": 0, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "eaH93gpTxMqYx6JC2hOjQS" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 127 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 306.7, + "height": 72.3 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "91vCmccFxL67RcBnXdURbY" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 127 + }, + "_enabled": true, + "__prefab": null, + "_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": "21ru6hJdJAk4Cr/p6OKlO8" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 127 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 2, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 127 + }, + "_id": "54NQkelgtJK4mxJXX50idE" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 116 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 344, + "height": 175 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "32pUsD+MlNNqsPMKYCPWTo" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 116 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6d0a8cc2-834f-4734-966c-9a62178b2510@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": "beOr3BqYZHmpxtAytn3qeb" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 116 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 1, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 10, + "_paddingBottom": 10, + "_spacingX": 0, + "_spacingY": 2.7, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "c2BsILqmxMlpQmUEsidg78" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 93 }, "_enabled": true, "__prefab": null, @@ -4135,7 +5556,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 92 + "__id__": 93 }, "_enabled": false, "__prefab": null, @@ -4174,7 +5595,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 36 }, "_enabled": true, "__prefab": null, @@ -4212,6 +5633,18 @@ }, "_id": "8dcLQad/ZJ1LCFJxZyRjXU" }, + { + "__type__": "ee20adrrH5Mnr7PJtaRLGnf", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": null, + "_id": "84DAsKiiBCFo4XmZjkcxJD" + }, { "__type__": "cc.UITransform", "_name": "", @@ -4276,10 +5709,10 @@ "_active": true, "_components": [ { - "__id__": 109 + "__id__": 145 }, { - "__id__": 110 + "__id__": 146 } ], "_prefab": null, @@ -4318,7 +5751,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 108 + "__id__": 144 }, "_enabled": true, "__prefab": null, @@ -4340,7 +5773,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 108 + "__id__": 144 }, "_enabled": true, "__prefab": null, @@ -4446,7 +5879,7 @@ "__id__": 22 }, "UILayerMod": { - "__id__": 108 + "__id__": 144 }, "MainCamera": { "__id__": 4 @@ -4464,28 +5897,28 @@ { "__type__": "cc.SceneGlobals", "ambient": { - "__id__": 117 + "__id__": 153 }, "shadows": { - "__id__": 118 + "__id__": 154 }, "_skybox": { - "__id__": 119 + "__id__": 155 }, "fog": { - "__id__": 120 + "__id__": 156 }, "octree": { - "__id__": 121 + "__id__": 157 }, "skin": { - "__id__": 122 + "__id__": 158 }, "lightProbeInfo": { - "__id__": 123 + "__id__": 159 }, "postSettings": { - "__id__": 124 + "__id__": 160 }, "bakedWithStationaryMainLight": false, "bakedWithHighpLightmap": false diff --git a/assets/Scripts/chat18x/ui/panels/SettingPanel.ts b/assets/Scripts/chat18x/ui/panels/SettingPanel.ts new file mode 100644 index 00000000..8b916f07 --- /dev/null +++ b/assets/Scripts/chat18x/ui/panels/SettingPanel.ts @@ -0,0 +1,40 @@ +import { _decorator, Component, Node } from "cc"; +import Utils from "../../../Main/Common/Utils"; +import li_BaseView from "../../../Main/Common/li_BaseView"; +import { GButton } from "../../../Main/Common/GButton"; +const { ccclass, property } = _decorator; + +@ccclass("SettingPanel") +export class SettingPanel extends li_BaseView { + private _nodeTab: any = {}; + protected start(): void { + Utils.parseNode(this.node, this._nodeTab); + + this.registerListener(); + } + registerListener() { + GButton.BandClick(this._nodeTab.MusicBtn, this.switchMusic, this); + GButton.BandClick(this._nodeTab.SoundBtn, this.switchSound, this); + GButton.BandClick( + this._nodeTab.LanguageBtn, + this.openLanguageSelection, + this + ); + + GButton.BandClick(this._nodeTab.Language1, this.switchToEn, this); + GButton.BandClick(this._nodeTab.Language2, this.swithcToHi, this); + + GButton.BandClick(this._nodeTab.closeBtn, this.close, this); + } + switchSound() { + throw new Error("Method not implemented."); + } + switchMusic() { + throw new Error("Method not implemented."); + } + + openLanguageSelection() {} + + switchToEn() {} + swithcToHi() {} +} diff --git a/assets/Scripts/chat18x/ui/panels/SettingPanel.ts.meta b/assets/Scripts/chat18x/ui/panels/SettingPanel.ts.meta new file mode 100644 index 00000000..9414cd2f --- /dev/null +++ b/assets/Scripts/chat18x/ui/panels/SettingPanel.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "ee20a76b-ac7e-4c9e-becf-26d6912c69df", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/Sub/UI/SimpleLanguagePanel.ts b/assets/Scripts/chat18x/ui/panels/SimpleLanguagePanel.ts similarity index 95% rename from assets/Scripts/Sub/UI/SimpleLanguagePanel.ts rename to assets/Scripts/chat18x/ui/panels/SimpleLanguagePanel.ts index ceff0608..88a4ee1e 100644 --- a/assets/Scripts/Sub/UI/SimpleLanguagePanel.ts +++ b/assets/Scripts/chat18x/ui/panels/SimpleLanguagePanel.ts @@ -9,10 +9,10 @@ import { tween, Vec3, } from "cc"; -import li_BaseView from "../../Main/Common/li_BaseView"; -import LanguageUtils, { LanguageType } from "../../Main/Common/LanguageUtils"; -import AudioManager from "../../Main/Manager/AudioManager"; -import { ConfigManager } from "../../chat18x/manager/ConfigManager"; +import li_BaseView from "../../../Main/Common/li_BaseView"; +import LanguageUtils, { LanguageType } from "../../../Main/Common/LanguageUtils"; +import AudioManager from "../../../Main/Manager/AudioManager"; +import { ConfigManager } from "../../manager/ConfigManager"; const { ccclass, property } = _decorator; diff --git a/assets/Scripts/Sub/UI/SimpleLanguagePanel.ts.meta b/assets/Scripts/chat18x/ui/panels/SimpleLanguagePanel.ts.meta similarity index 100% rename from assets/Scripts/Sub/UI/SimpleLanguagePanel.ts.meta rename to assets/Scripts/chat18x/ui/panels/SimpleLanguagePanel.ts.meta