docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AdvancedFoldoutGroup

    AdvancedFoldoutGroup<TEnum, TState>(GUIContent, TEnum, ExpandedState<TEnum, TState>, Enabler, SwitchEnabler, IDrawer, IDrawer, FoldoutOption)

    Helper to draw a foldout with an advanced switch on it.

    Declaration
    [Obsolete("Use AdditionalPropertiesFoldoutGroup instead.")]
    public static CoreEditorDrawer<TData>.IDrawer AdvancedFoldoutGroup<TEnum, TState>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedState<TEnum, TState> foldoutState, CoreEditorDrawer<TData>.Enabler isAdvanced, CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced, CoreEditorDrawer<TData>.IDrawer normalContent, CoreEditorDrawer<TData>.IDrawer advancedContent, FoldoutOption options = FoldoutOption.Indent) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent foldoutTitle

    Title wanted for this foldout header

    TEnum foldoutMask

    Bit mask (enum) used to define the boolean saving the state in ExpandedStateBase

    ExpandedState<TEnum, TState> foldoutState

    The ExpandedStateBase describing the component

    CoreEditorDrawer<TData>.Enabler isAdvanced

    Delegate allowing to check if advanced mode is active.

    CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced

    Delegate to know what to do when advance is switched.

    CoreEditorDrawer<TData>.IDrawer normalContent

    The content of the foldout header always visible if expended.

    CoreEditorDrawer<TData>.IDrawer advancedContent

    The content of the foldout header only visible if advanced mode is active and if foldout is expended.

    FoldoutOption options

    Drawing options

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    TState

    Type of the persistent state

    AdvancedFoldoutGroup<TEnum, TState>(GUIContent, TEnum, ExpandedState<TEnum, TState>, Enabler, SwitchEnabler, ActionDrawer, IDrawer, FoldoutOption)

    Helper to draw a foldout with an advanced switch on it.

    Declaration
    [Obsolete("Use AdditionalPropertiesFoldoutGroup instead.")]
    public static CoreEditorDrawer<TData>.IDrawer AdvancedFoldoutGroup<TEnum, TState>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedState<TEnum, TState> foldoutState, CoreEditorDrawer<TData>.Enabler isAdvanced, CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced, CoreEditorDrawer<TData>.ActionDrawer normalContent, CoreEditorDrawer<TData>.IDrawer advancedContent, FoldoutOption options = FoldoutOption.Indent) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent foldoutTitle

    Title wanted for this foldout header

    TEnum foldoutMask

    Bit mask (enum) used to define the boolean saving the state in ExpandedStateBase

    ExpandedState<TEnum, TState> foldoutState

    The ExpandedStateBase describing the component

    CoreEditorDrawer<TData>.Enabler isAdvanced

    Delegate allowing to check if advanced mode is active.

    CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced

    Delegate to know what to do when advance is switched.

    CoreEditorDrawer<TData>.ActionDrawer normalContent

    The content of the foldout header always visible if expended.

    CoreEditorDrawer<TData>.IDrawer advancedContent

    The content of the foldout header only visible if advanced mode is active and if foldout is expended.

    FoldoutOption options

    Drawing options

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    TState

    Type of the persistent state

    AdvancedFoldoutGroup<TEnum, TState>(GUIContent, TEnum, ExpandedState<TEnum, TState>, Enabler, SwitchEnabler, IDrawer, ActionDrawer, FoldoutOption)

    Helper to draw a foldout with an advanced switch on it.

    Declaration
    [Obsolete("Use AdditionalPropertiesFoldoutGroup instead.")]
    public static CoreEditorDrawer<TData>.IDrawer AdvancedFoldoutGroup<TEnum, TState>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedState<TEnum, TState> foldoutState, CoreEditorDrawer<TData>.Enabler isAdvanced, CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced, CoreEditorDrawer<TData>.IDrawer normalContent, CoreEditorDrawer<TData>.ActionDrawer advancedContent, FoldoutOption options = FoldoutOption.Indent) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent foldoutTitle

    Title wanted for this foldout header

    TEnum foldoutMask

    Bit mask (enum) used to define the boolean saving the state in ExpandedStateBase

    ExpandedState<TEnum, TState> foldoutState

    The ExpandedStateBase describing the component

    CoreEditorDrawer<TData>.Enabler isAdvanced

    Delegate allowing to check if advanced mode is active.

    CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced

    Delegate to know what to do when advance is switched.

    CoreEditorDrawer<TData>.IDrawer normalContent

    The content of the foldout header always visible if expended.

    CoreEditorDrawer<TData>.ActionDrawer advancedContent

    The content of the foldout header only visible if advanced mode is active and if foldout is expended.

    FoldoutOption options

    Drawing options

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    TState

    Type of the persistent state

    AdvancedFoldoutGroup<TEnum, TState>(GUIContent, TEnum, ExpandedState<TEnum, TState>, Enabler, SwitchEnabler, ActionDrawer, ActionDrawer, FoldoutOption)

    Helper to draw a foldout with an advanced switch on it.

    Declaration
    [Obsolete("Use AdditionalPropertiesFoldoutGroup instead.")]
    public static CoreEditorDrawer<TData>.IDrawer AdvancedFoldoutGroup<TEnum, TState>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedState<TEnum, TState> foldoutState, CoreEditorDrawer<TData>.Enabler isAdvanced, CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced, CoreEditorDrawer<TData>.ActionDrawer normalContent, CoreEditorDrawer<TData>.ActionDrawer advancedContent, FoldoutOption options = FoldoutOption.Indent) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent foldoutTitle

    Title wanted for this foldout header

    TEnum foldoutMask

    Bit mask (enum) used to define the boolean saving the state in ExpandedStateBase

    ExpandedState<TEnum, TState> foldoutState

    The ExpandedStateBase describing the component

    CoreEditorDrawer<TData>.Enabler isAdvanced

    Delegate allowing to check if advanced mode is active.

    CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced

    Delegate to know what to do when advance is switched.

    CoreEditorDrawer<TData>.ActionDrawer normalContent

    The content of the foldout header always visible if expended.

    CoreEditorDrawer<TData>.ActionDrawer advancedContent

    The content of the foldout header only visible if advanced mode is active and if foldout is expended.

    FoldoutOption options

    Drawing options

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    TState

    Type of the persistent state

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)