Delegate CoreEditorDrawer<TData>.DataSelect<T2Data>
Delegate that must be used to select sub object for data for drawing
Namespace: UnityEditor.Rendering
Syntax
public delegate T2Data DataSelect<T2Data>(TData data, Editor owner);
Parameters
Type | Name | Description |
---|---|---|
TData | data | The data used |
Editor | owner | The editor rendering |
Returns
Type | Description |
---|---|
T2Data | Embeded object that will be used as data source for later draw in this Select |
Type Parameters
Name | Description |
---|---|
T2Data | The type of the sub object used for data |