You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matt Ellis edited this page Mar 27, 2018
·
7 revisions
If a field has both [SerializeField] and [NonSerialized] attributes, the [NonSeralized] attribute takes precedence and Unity will ignore the [SerializeField] attribute.
This inspection will highlight the [SerializeField] attribute as redundant if both attributes are specified. It also provides an Alt+Enter quick fix to remove the redundant attribute.