From 5599d6dcc885df2fbe3d2fc432b0543ff25ebf2d Mon Sep 17 00:00:00 2001 From: suntao Date: Thu, 20 May 2021 20:07:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6=E7=BC=96=E8=BE=91=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E9=87=8C=E7=9A=84=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI/Prefab/Panel/EditUserPanel.prefab | 15 +++++++++++++++ .../UI/Prefab/Panel/EditUserController.cs | 1 + Packages/packages-lock.json | 17 +++++++++-------- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/Assets/Resources/UI/Prefab/Panel/EditUserPanel.prefab b/Assets/Resources/UI/Prefab/Panel/EditUserPanel.prefab index 1ce42630..8d461847 100644 --- a/Assets/Resources/UI/Prefab/Panel/EditUserPanel.prefab +++ b/Assets/Resources/UI/Prefab/Panel/EditUserPanel.prefab @@ -5817,6 +5817,11 @@ PrefabInstance: propertyPath: m_Name value: input objectReference: {fileID: 0} + - target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322, + type: 3} + propertyPath: m_CharacterLimit + value: 30 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 07e45aecba1a2d542b043157aa2e9322, type: 3} --- !u!224 &8698039832437653297 stripped @@ -5957,6 +5962,11 @@ PrefabInstance: propertyPath: m_Name value: input objectReference: {fileID: 0} + - target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322, + type: 3} + propertyPath: m_CharacterLimit + value: 50 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 07e45aecba1a2d542b043157aa2e9322, type: 3} --- !u!224 &8698039832550826197 stripped @@ -6582,6 +6592,11 @@ PrefabInstance: propertyPath: m_LineType value: 2 objectReference: {fileID: 0} + - target: {fileID: 7789118244628022189, guid: 07e45aecba1a2d542b043157aa2e9322, + type: 3} + propertyPath: m_CharacterLimit + value: 200 + objectReference: {fileID: 0} - target: {fileID: 8098460543711191387, guid: 07e45aecba1a2d542b043157aa2e9322, type: 3} propertyPath: m_SizeDelta.x diff --git a/Assets/Scripts/UI/Prefab/Panel/EditUserController.cs b/Assets/Scripts/UI/Prefab/Panel/EditUserController.cs index c5e054a3..8223f349 100644 --- a/Assets/Scripts/UI/Prefab/Panel/EditUserController.cs +++ b/Assets/Scripts/UI/Prefab/Panel/EditUserController.cs @@ -276,6 +276,7 @@ public class EditUserController : PFUIPanel } mDayDropdown.ClearOptions(); mDayDropdown.AddOptions(list); + mDayDropdown.SelectIndex(0); } void Save(BaseEventData e) diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 866945fa..b60becf7 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -18,21 +18,21 @@ "depth": 0, "source": "registry", "dependencies": {}, - "url": "https://packages.unity.com" + "url": "https://packages.unity.cn" }, "com.unity.collab-proxy": { "version": "1.2.16", "depth": 0, "source": "registry", "dependencies": {}, - "url": "https://packages.unity.com" + "url": "https://packages.unity.cn" }, "com.unity.ext.nunit": { "version": "1.0.6", "depth": 1, "source": "registry", "dependencies": {}, - "url": "https://packages.unity.com" + "url": "https://packages.unity.cn" }, "com.unity.ide.rider": { "version": "1.1.4", @@ -41,14 +41,14 @@ "dependencies": { "com.unity.test-framework": "1.1.1" }, - "url": "https://packages.unity.com" + "url": "https://packages.unity.cn" }, "com.unity.ide.vscode": { "version": "1.2.3", "depth": 0, "source": "registry", "dependencies": {}, - "url": "https://packages.unity.com" + "url": "https://packages.unity.cn" }, "com.unity.test-framework": { "version": "1.1.22", @@ -59,7 +59,7 @@ "com.unity.modules.imgui": "1.0.0", "com.unity.modules.jsonserialize": "1.0.0" }, - "url": "https://packages.unity.com" + "url": "https://packages.unity.cn" }, "com.unity.timeline": { "version": "1.2.18", @@ -71,14 +71,15 @@ "com.unity.modules.audio": "1.0.0", "com.unity.modules.particlesystem": "1.0.0" }, - "url": "https://packages.unity.com" + "url": "https://packages.unity.cn" }, "com.unity.ugui": { "version": "1.0.0", "depth": 0, "source": "builtin", "dependencies": { - "com.unity.modules.ui": "1.0.0" + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0" } }, "com.unity.modules.ai": {