예제 #1
0
        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);
        }
예제 #2
0
        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);
        }