Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
uurha committed Apr 11, 2023
1 parent 385ba58 commit 12addb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Editor/EditorTools/Drawers/Base/MultiFieldDrawer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten

protected virtual Type GetFieldOrElementType()
{
return fieldInfo.GetArrayOrListElementType();
if (fieldInfo.IsArrayOrList())
return fieldInfo.GetArrayOrListElementType();

return fieldInfo.FieldType;
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.uurha.bettereditortools",
"displayName": "Better Editor Tools",
"description": "Collection of useful tools for Unity Editor",
"version": "0.3.2",
"version": "0.3.5",
"unity": "2018.3",
"dependencies": {
"com.uurha.betterdatastructures": "0.1.0",
Expand Down

0 comments on commit 12addb4

Please sign in to comment.