HideFlags Manual     Reference     Scripting  
Scripting > Enumerations > HideFlags
HideFlags Enumeration

Bit mask that controls object destruction and visibility in inspectors

Values
HideInHierarchy

The object will not appear in the hierarchy and will not show up in the project view if it is stored in an asset

HideInInspector

It is not possible to view it in the inspector

DontSave

The object will not be saved to the scene. It will not be destroyed when a new scene is loaded.

NotEditable

The object is not be editable in the inspector

HideAndDontSave

A combination of not shown in the hierarchy and not saved to to scenes.