1.8.1: Fixed issue with certain drawers using EditorGUI.PropertyField, which would invoke a second draw with the same attribute
This commit is contained in:
parent
eb19150d98
commit
b189ec8b97
8 changed files with 21 additions and 14 deletions
|
|
@ -526,7 +526,7 @@ namespace Module.Inspector.Editor
|
|||
case SerializedPropertyType.BoundsInt:
|
||||
return property.boundsIntValue.ToString();
|
||||
case SerializedPropertyType.ManagedReference:
|
||||
return property.objectReferenceValue != null ? property.objectReferenceValue.ToString() : "null";
|
||||
return property.managedReferenceValue != null ? property.managedReferenceValue.ToString() : "null";
|
||||
}
|
||||
|
||||
return "Unable to draw value as string";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue