Editor: Show pretty script field names

This commit is contained in:
Simon Lübeß
2024-02-17 22:53:58 +01:00
parent 59aaec572b
commit 3c0302b06c
2 changed files with 76 additions and 1 deletions
+3 -1
View File
@@ -852,7 +852,9 @@ internal class EntityEditor
IEnumerable<Attribute> attributes = field.GetCustomAttributes();
object? newValue = ShowFieldEditor(value, value?.GetType() ?? field.FieldType, field.Name, attributes);
string prettyName = field.Name.ToPrettyName();
object? newValue = ShowFieldEditor(value, value?.GetType() ?? field.FieldType, prettyName, attributes);
if (newValue != DidNotChange)
{