1.11.0: Added FieldLabelFromToString

This commit is contained in:
Anders Ejlersen 2024-11-25 22:11:33 +01:00
parent a804633a14
commit 3a825efa2a
7 changed files with 39 additions and 1 deletions

View file

@ -495,6 +495,10 @@ namespace Module.Inspector.Editor
switch (property.propertyType)
{
case SerializedPropertyType.Generic:
#if UNITY_6000_0_OR_NEWER
if (property.boxedValue != null)
return property.boxedValue.ToString();
#endif
break;
case SerializedPropertyType.Integer:
return property.intValue.ToString();