public static FoldoutDrawer CreateFoldout([NotNull] GUIContent label, bool selected, bool mouseovered, bool unappliedChanges, bool unfolded, bool textClipping) { var result = FoldoutDrawer.Create(label, selected, mouseovered, unappliedChanges, textClipping); result.Unfolded = unfolded; return(result); }
public static FoldoutDrawer CreateFoldout([NotNull] GUIContent label, bool unfolded, bool textClipping, [NotNull] GUIStyle guiStyle) { var result = FoldoutDrawer.Create(label, textClipping, guiStyle); result.Unfolded = unfolded; return(result); }