Class DebugUIHandlerField<T>
Base class for handling UI actions for widgets.
Inheritance
DebugUIHandlerField<T>
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine .Rendering.UI
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public abstract class DebugUIHandlerField<T> : DebugUIHandlerWidget where T : DebugUI.Widget
Type Parameters
Name | Description |
---|---|
T | Base type for the field |
Fields
m_Field
The field
Declaration
protected T m_Field
Field Value
Type | Description |
---|---|
T |
nameLabel
Name of the enum field.
Declaration
public Text nameLabel
Field Value
Type | Description |
---|---|
Text |
nextButtonText
Text displayed for the "next" button.
Declaration
public Text nextButtonText
Field Value
Type | Description |
---|---|
Text |
previousButtonText
Text displayed for the "previous" button.
Declaration
public Text previousButtonText
Field Value
Type | Description |
---|---|
Text |
valueLabel
Value of the enum field.
Declaration
public Text valueLabel
Field Value
Type | Description |
---|---|
Text |
Methods
OnAction()
OnAction implementation.
Declaration
public override void OnAction()
Overrides
OnDeselection()
OnDeselection implementation.
Declaration
public override void OnDeselection()
Overrides
OnSelection(bool, DebugUIHandlerWidget)
OnSelection implementation.
Declaration
public override bool OnSelection(bool fromNext, DebugUIHandlerWidget previous)
Parameters
Type | Name | Description |
---|---|---|
bool | fromNext | True if the selection wrapped around. |
Debug |
previous | Previous widget. |
Returns
Type | Description |
---|---|
bool | State of the widget. |
Overrides
SetLabelText(string)
Sets the label text
Declaration
protected void SetLabelText(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text | The text to set to the label |
UpdateValueLabel()
Update the label of the widget.
Declaration
public abstract void UpdateValueLabel()