- Home /
Drawing a custom variable in the inspector y position bugs selection
Hello,
I am making a custom inspector and want to manually draw some variables in order to make a "Custom Window" containing the variables in it. The problem is that the selection of the variable gets bugged.
It works only when the variable is at the top left corner or when EditorGUILayout (== auto layout) is used instead. When you manually do the Rect, it often breaks. I was wondering if someone knew the solution to it. The Y value on the rect makes it bugged. It seems like you can only select it on a certain place in the Inspector UI and if the variable is placed there as well, if you move the variable you can still highlight it but not select it anymore at all.
Here's a sample of it;
I hope that someone knows what's up with it. Anyway, thanks.
Your answer
Follow this Question
Related Questions
Custom Inspector & Arrays 0 Answers
Unity Editor - Class variable value contrain 4 Answers
How can i get SerializedProperty from UnityEvent which in List. Sorry for my Eng. 2 Answers
Inspector: custom property with custom type use default editor 3 Answers
Custom editor super slow even with no draw operations 1 Answer