Enum auto property can't be set from inspector
Issue #60
resolved
Problem: Attempting to set an auto property with an enum value from the inspector has no effect. The value in the inspector stays the same regardless of which value is selected from the drop down. This is with the [OdinSerialize] attribute.
Example:
public enum State { High, Low }
[OdinSerialize] public State state { get; set; }
Unity Version: 5.6.0f3
Comments (2)
-
-
- changed status to resolved
- Log in to comment
I've identified the issue, and implemented a fix, which will come with the next patch. Until then, you can use the [EnumToggleButtons] for the time being http://sirenix.net/odininspector/documentation/sirenix/odininspector/enumtogglebuttonsattribute
Thanks you for submitting the issue, and sorry for the inconvience.