Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 5ba6dca

Browse files
Added more helpful error message in runtimeset
1 parent a31f77a commit 5ba6dca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Assets/SO Architecture/Editor/Inspectors/RuntimeSetEditor.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ private void DrawElement(Rect rect, int index, bool isActive, bool isFocused)
5656
}
5757
else
5858
{
59-
EditorGUI.LabelField(rect, "No PropertyDrawer");
59+
string content = "No PropertyDrawer for " + Target.Type;
60+
61+
EditorGUI.LabelField(rect, new GUIContent(content, content));
6062
}
6163

6264
//EditorGUI.ObjectField(rect, "Element " + index, property.objectReferenceValue, Target.Type, false);

0 commit comments

Comments
 (0)