Open djnjbjb opened 2 years ago
This problem is not limited to DropDown. AllowNesting also reproduces it, and I'm guessing most other Naughty Attributes do too.
NaughtyEditorGUI.PropertyField_Implementation calls propertyFieldFunction.Invoke, which eventually calls PropertyDrawerBase.OnGUI, and both call PropertyUtility.CallOnValueChangedCallbacks. Is this intentional?
I also noticed this issue.
Here is my code:
I use both Dropdown and OnValueChanged. It appears the method OnModeChange() executes twice.
I'm using Naughty Attributes 2.1.4.