Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

ShowInInspectorAttribute

A topic by CatyboyStudio created Oct 14, 2022 Views: 77
Viewing posts 1 to 1

Enables a field or property that does not support serialization to be displayed on the Inspector. Other Attributes can also act on this property

[Separator("blue")]
[ShowInInspector]
private int NoSerializaedField;

In fact, most Attributes have the role of ShowInInspectorAttribute and don't need to be set up deliberately