Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] Label attribute doesn't work for non-serialized fields and properties #73

Open
martin-braun opened this issue Jul 8, 2019 · 1 comment

Comments

@martin-braun
Copy link

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; }
@dbrizov dbrizov changed the title [ShowNativeProperty] Allow custom display name [Label] doesn't work for non-serialized fields and properties Feb 22, 2020
@dbrizov dbrizov changed the title [Label] doesn't work for non-serialized fields and properties [Issue] Label attribute doesn't work for non-serialized fields and properties Aug 9, 2020
@CharlieReece
Copy link

Same for ShowNonSerializedField.

    [ShowNonSerializedField, Label("Ammo Left")]
    private int ammoLeft;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants