限制编辑信息里的长度

This commit is contained in:
suntao 2021-05-20 20:07:45 +08:00
parent 509a7c16bd
commit 5599d6dcc8
3 changed files with 25 additions and 8 deletions

View File

@ -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

View File

@ -276,6 +276,7 @@ public class EditUserController : PFUIPanel
}
mDayDropdown.ClearOptions();
mDayDropdown.AddOptions(list);
mDayDropdown.SelectIndex(0);
}
void Save(BaseEventData e)

View File

@ -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": {