I have an issue with values entered in an EditorGUILayout.IntField getting reset when the control loses focus or ‘enter’ is pressed.
From the example here:
the value assigned in this line:
sizeMultiplier = EditorGUILayout.IntField("Number of clones:", clones);
gets reset when clicking off of the edit box control or clicking the button, so you always only get one copy.
Am I missing something obvious or is this a Unity issue?
Unity 2020.2.1 / Windows 10 20H2