Class DebugUIDrawerObjectField
Builtin Drawer for DebugUI.ObjectField items.
Inheritance
DebugUIDrawerObjectField
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[DebugUIDrawer(typeof(DebugUI.ObjectField))]
public sealed class DebugUIDrawerObjectField : DebugUIFieldDrawer<Object, DebugUI.ObjectField, DebugStateObject>
Methods
DoGUI(Rect, GUIContent, ObjectField, DebugStateObject)
Does the field of the given type
Declaration
protected override Object DoGUI(Rect rect, GUIContent label, DebugUI.ObjectField field, DebugStateObject state)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | The rect to draw the field |
GUIContent | label | The label for the field |
DebugUI.ObjectField | field | The field |
DebugStateObject | state | The state |
Returns
Type | Description |
---|---|
Object | The current value from the UI |