Class CoreEditorDrawersExtensions
CoreEditorDrawer extensions
Namespace: UnityEditor.Rendering
Syntax
public static class CoreEditorDrawersExtensions
Methods
Draw<TData>(IEnumerable<CoreEditorDrawer<TData>.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.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 |