UnityEditor.EditorGUILayout.FoldoutInternal C# (CSharp) Méthode

FoldoutInternal() static private méthode

static private FoldoutInternal ( bool foldout, GUIContent content, bool toggleOnLabelClick, GUIStyle style ) : bool
foldout bool
content UnityEngine.GUIContent
toggleOnLabelClick bool
style UnityEngine.GUIStyle
Résultat bool
        internal static bool FoldoutInternal(bool foldout, GUIContent content, bool toggleOnLabelClick, GUIStyle style)
        {
            Rect position = s_LastRect = GUILayoutUtility.GetRect(EditorGUIUtility.fieldWidth, EditorGUIUtility.fieldWidth, 16f, 16f, style);
            return EditorGUI.Foldout(position, foldout, content, toggleOnLabelClick, style);
        }