We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64c42a4 commit 5c45251Copy full SHA for 5c45251
Editor/Drawers/ReferenceDrawer.cs
@@ -139,7 +139,7 @@ private void OnDeletePressed()
139
140
private void OnItemSelected(ReferenceMode mode, object reference)
141
{
142
- ReferenceModeProperty.enumValueIndex = (int)mode;
+ ModeValue = mode;
143
PropertyValue = reference;
144
}
145
@@ -195,7 +195,7 @@ private void HandleDragUpdated()
195
196
Type scriptType = monoScript.GetClass();
197
198
- if (scriptType.IsSubclassOf(typeof(UnityEngine.Object)))
+ if (scriptType.IsSubclassOf(typeof(Object)))
199
200
SetDragAndDropMode(false);
201
return;
0 commit comments