docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Group

    Group(params IDrawer[])

    Group of drawing function for inspector. They will be drawn one after the other.

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(params CoreEditorDrawer<TData>.IDrawer[] contentDrawers)
    Parameters
    Type Name Description
    IDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(params ActionDrawer[])

    Group of drawing function for inspector. They will be drawn one after the other.

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers)
    Parameters
    Type Name Description
    ActionDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(float, params IDrawer[])

    Group of drawing function for inspector with a set width for labels

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(float labelWidth, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers)
    Parameters
    Type Name Description
    float labelWidth

    Width used for all labels in the group

    IDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(GUIContent, params IDrawer[])

    Group of drawing function for inspector with a set width for labels

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(GUIContent header, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers)
    Parameters
    Type Name Description
    GUIContent header

    Adds a header on top GUIContent

    IDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(float, params ActionDrawer[])

    Group of drawing function for inspector with a set width for labels

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(float labelWidth, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers)
    Parameters
    Type Name Description
    float labelWidth

    Width used for all labels in the group

    ActionDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(GUIContent, params ActionDrawer[])

    Group of drawing function for inspector with a set width for labels

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(GUIContent header, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers)
    Parameters
    Type Name Description
    GUIContent header

    Adds a header on top GUIContent

    ActionDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(GroupOption, params IDrawer[])

    Group of drawing function for inspector. They will be drawn one after the other.

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(GroupOption options, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers)
    Parameters
    Type Name Description
    GroupOption options

    Allow to add indentation on this group

    IDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(GroupOption, params ActionDrawer[])

    Group of drawing function for inspector. They will be drawn one after the other.

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(GroupOption options, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers)
    Parameters
    Type Name Description
    GroupOption options

    Allow to add indentation on this group

    ActionDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(float, GroupOption, params IDrawer[])

    Group of drawing function for inspector with a set width for labels

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(float labelWidth, GroupOption options, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers)
    Parameters
    Type Name Description
    float labelWidth

    Width used for all labels in the group

    GroupOption options

    Allow to add indentation on this group

    IDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(GUIContent, GroupOption, params IDrawer[])

    Group of drawing function for inspector with a set width for labels

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(GUIContent header, GroupOption options, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers)
    Parameters
    Type Name Description
    GUIContent header

    Adds a header on top GUIContent

    GroupOption options

    Allow to add indentation on this group

    IDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(float, GroupOption, params ActionDrawer[])

    Group of drawing function for inspector with a set width for labels

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(float labelWidth, GroupOption options, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers)
    Parameters
    Type Name Description
    float labelWidth

    Width used for all labels in the group

    GroupOption options

    Allow to add indentation on this group

    ActionDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    Group(GUIContent, GroupOption, params ActionDrawer[])

    Group of drawing function for inspector with a set width for labels

    Declaration
    public static CoreEditorDrawer<TData>.IDrawer Group(GUIContent header, GroupOption options, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers)
    Parameters
    Type Name Description
    GUIContent header

    Adds a header on top GUIContent

    GroupOption options

    Allow to add indentation on this group

    ActionDrawer[] contentDrawers

    The content of the group

    Returns
    Type Description
    CoreEditorDrawer<TData>.IDrawer

    A IDrawer object

    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)