Unity-Editor-Toolbox icon indicating copy to clipboard operation
Unity-Editor-Toolbox copied to clipboard

OnValueChanged can't work with OtherAttribute

Open phields opened this issue 3 years ago • 1 comments

I tried [ReorderableList(ListStyle.Round, "test", fixedSize: false)] [OnValueChanged(callbackMethodName: nameof(voidName))] and [NotNull,OnValueChanged(callbackMethodName: nameof(voidName))] Neither can coexist and work properly

phields avatar Jun 07 '21 14:06 phields

Hello,

since OnValueChangedAttribute is based on the PropertyAttribute class it will break any other drawer. Anyway, I have it on my TODO list, I will re-implement it (and other validation drawers) as soon as possible.

arimger avatar Jun 08 '21 12:06 arimger