- Home /
Question by
tcstarr · Apr 21, 2018 at 01:04 PM ·
editoreditor-scriptingscriptableobjecteditorguilayout
Editor GUI object field stops working
code:
aa = (anchor)EditorGUILayout.ObjectField("Anchor", aa, typeof(ScriptableObject), true);
when it works it works but then randomly for no reason itll stop working (the drag and drop no longer alows me to drop anchors in it) so when that happens i changet the 'true' at the end to 'false' or vice versa and boom problem solved.... why?
Comment
Your answer
Follow this Question
Related Questions
EditorGUILayout.ObjectField does not allow me to select a script. 1 Answer
Organizing Recursive EditorGUI elements 1 Answer
Track when the value is changed and get it 0 Answers
Unity editor extension - create drag and drop (similar to Buildbox) 1 Answer
How to create custom asset icons for ScriptableObject instances 2 Answers