Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

HideFlags

Description

Bit mask that controls object destruction and visibility in inspectors.

Variables

NoneA normal, visible object. This is the default.
HideInHierarchyThe object will not appear in the hierarchy.
HideInInspectorIt is not possible to view it in the inspector.
DontSaveThe object will not be saved to the scene. It will not be destroyed when a new scene is loaded.
NotEditableThe object is not be editable in the inspector.
HideAndDontSaveA combination of not shown in the hierarchy and not saved to to scenes.