docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Draw

    Draw<TData>(IEnumerable<IDrawer>, TData, Editor)

    Concatenate a collection of IDrawer as a unique IDrawer

    Declaration
    public static void Draw<TData>(this IEnumerable<CoreEditorDrawer<TData>.IDrawer> drawers, TData data, Editor owner)
    Parameters
    Type Name Description
    IEnumerable<CoreEditorDrawer<TData>.IDrawer> drawers

    A collection of IDrawers

    TData data

    The data source for the inner drawers

    Editor owner

    The editor drawing

    Type Parameters
    Name Description
    TData

    Type of class containing data needed to draw inspector

    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)