Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

EditorGUIUtility.hierarchyMode

public static bool hierarchyMode;

Description

Is the Editor GUI is hierarchy mode?

In hierarchy mode, EditorGUI.Foldout controls are positioned with the foldout triangle to the left of the specified Rect for the control, rather than being inside the Rect. This way, the label of the foldout is aligned together with labels of other Editor GUI controls.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答