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
    该物体将不会出现在层级面板(hierarchy)并且如果他保存在一个资源中,不显示在项目视图。
  • 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.
    不能显示在层级面板并且不能保存到场景。

你可能感兴趣的:(HideFlags 隐藏标识)