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

Mark [SerializeField] as redundant on readonly fields #503

Closed
citizenmatt opened this issue Apr 6, 2018 · 0 comments
Closed

Mark [SerializeField] as redundant on readonly fields #503

citizenmatt opened this issue Apr 6, 2018 · 0 comments
Assignees
Milestone

Comments

@citizenmatt
Copy link
Member

citizenmatt commented Apr 6, 2018

Readonly fields are not serialised, even if they are marked with [SerializeField] (they don't display in the Inspector). Mark the attribute as redundant in this case.

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

1 participant