Class DebugUIDrawerObjectPopupField
Builtin Drawer for Object Popup Fields Items.
Inheritance
DebugUIDrawerObjectPopupField
Inherited Members
Namespace: UnityEditor.Rendering
Syntax
[DebugUIDrawer(typeof(DebugUI.ObjectPopupField))]
public sealed class DebugUIDrawerObjectPopupField : DebugUIFieldDrawer<Object, DebugUI.ObjectPopupField, DebugStateObject>
Methods
DoGUI(Rect, GUIContent, DebugUI.ObjectPopupField, DebugStateObject)
Does the field of the given type
Declaration
protected override Object DoGUI(Rect rect, GUIContent label, DebugUI.ObjectPopupField field, DebugStateObject state)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | The rect to draw the field |
GUIContent | label | The label for the field |
DebugUI.ObjectPopupField | field | The field |
DebugStateObject | state | The state |
Returns
Type | Description |
---|---|
Object | The current value from the UI |
Overrides
UnityEditor.Rendering.DebugUIFieldDrawer<UnityEngine.Object, UnityEngine.Rendering.DebugUI.ObjectPopupField, UnityEditor.Rendering.DebugStateObject>.DoGUI(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.Rendering.DebugUI.ObjectPopupField, UnityEditor.Rendering.DebugStateObject)