docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FoldoutGroup

    FoldoutGroup<TEnum>(string, TEnum, ExpandedStateBase<TEnum>, params IDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(string title, TEnum mask, ExpandedStateBase<TEnum> state, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    string title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    IDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(string, TEnum, ExpandedStateBase<TEnum>, params ActionDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(string title, TEnum mask, ExpandedStateBase<TEnum> state, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    string title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    ActionDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(string, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, params IDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(string title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    string title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    IDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(string, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, params ActionDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(string title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    string title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    ActionDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(string, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, Action<GenericMenu, TData>, params IDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(string title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, Action<GenericMenu, TData> customMenuContextAction, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    string title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    Action<GenericMenu, TData> customMenuContextAction

    Adds Addtional items to the menu activated from the burger menu.

    IDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(string, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, Action<GenericMenu, TData>, string, params IDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(string title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, Action<GenericMenu, TData> customMenuContextAction, string otherDocumentation, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    string title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    Action<GenericMenu, TData> customMenuContextAction

    Adds Addtional items to the menu activated from the burger menu.

    string otherDocumentation

    Custom documentation used for header.

    IDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(string, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, Action<GenericMenu, TData>, params ActionDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(string title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, Action<GenericMenu, TData> customMenuContextAction, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    string title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    Action<GenericMenu, TData> customMenuContextAction

    Adds Addtional items to the menu activated from the burger menu.

    ActionDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(string, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, Action<GenericMenu, TData>, string, params ActionDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(string title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, Action<GenericMenu, TData> customMenuContextAction, string otherDocumentation, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    string title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    Action<GenericMenu, TData> customMenuContextAction

    Adds Addtional items to the menu activated from the burger menu.

    string otherDocumentation

    Custom documentation used for header.

    ActionDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, params IDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(GUIContent title, TEnum mask, ExpandedStateBase<TEnum> state, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    IDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, params ActionDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(GUIContent title, TEnum mask, ExpandedStateBase<TEnum> state, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    ActionDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, params IDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(GUIContent title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    IDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, params ActionDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(GUIContent title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    ActionDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, Action<GenericMenu, TData>, params IDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(GUIContent title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, Action<GenericMenu, TData> customMenuContextAction, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    Action<GenericMenu, TData> customMenuContextAction

    Adds Addtional items to the menu activated from the burger menu.

    IDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, Action<GenericMenu, TData>, string, params IDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(GUIContent title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, Action<GenericMenu, TData> customMenuContextAction, string otherDocumentation, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    Action<GenericMenu, TData> customMenuContextAction

    Adds Addtional items to the menu activated from the burger menu.

    string otherDocumentation

    Custom documentation used for header.

    IDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, Action<GenericMenu, TData>, params ActionDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(GUIContent title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, Action<GenericMenu, TData> customMenuContextAction, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    Action<GenericMenu, TData> customMenuContextAction

    Adds Addtional items to the menu activated from the burger menu.

    ActionDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    FoldoutGroup<TEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, FoldoutOption, Action<GenericMenu, TData>, string, params ActionDrawer[])

    Create an IDrawer foldout header using an ExpandedStateBase

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer FoldoutGroup<TEnum>(GUIContent title, TEnum mask, ExpandedStateBase<TEnum> state, FoldoutOption options, Action<GenericMenu, TData> customMenuContextAction, string otherDocumentation, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers) where TEnum : struct, IConvertible
    Parameters
    Type Name Description
    GUIContent title

    Title wanted for this foldout header

    TEnum mask

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

    ExpandedStateBase<TEnum> state

    The ExpandedStateBase describing the component

    FoldoutOption options

    Drawing options

    Action<GenericMenu, TData> customMenuContextAction

    Adds Addtional items to the menu activated from the burger menu.

    string otherDocumentation

    Custom documentation used for header.

    ActionDrawer[] contentDrawers

    The content of the foldout header

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Type Parameters
    Name Description
    TEnum

    Type of the mask used

    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)