Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

ShowInInspectorAttribute

A topic by CatyboyStudio created Oct 14, 2022 Views: 95
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