NaughtyAttributes
NaughtyAttributes copied to clipboard
[Issue] Label attribute doesn't work for non-serialized fields and properties
Hi,
it would be great if the ShowNativeProperty would allow a string argument to change its visual appearance in the editor, similar to buttons, like so:
[ShowNativeProperty("My Property")]
public string MyProperty { get; set; }
Same for ShowNonSerializedField
.
[ShowNonSerializedField, Label("Ammo Left")]
private int ammoLeft;