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