HideFlags is a class that defines the flags used to control the visibility and saving behavior of objects in the editor.

HideFlags 是一个类,用于定义在编辑器中控制对象的可见性和保存行为的标志。

构造函数

属性

DontSave: number = 0x4

The object is not saved to the scene or prefab.

对象不会保存到场景或预制件中。

HideAndDontSave: number = 0x7

The object is hidden and not saved to the scene or prefab.

对象隐藏且不会保存到场景或预制件中。

HideInHierarchy: number = 0x1

The object is hidden in the hierarchy.

对象在层级中隐藏。

HideInInspector: number = 0x2

The object is hidden in the inspector.

对象在检查器中隐藏。