Class DebugUIHandlerToggle
DebugUIHandler for toggle widget.
Inheritance
DebugUIHandlerToggle
  Inherited Members
      Object.FindObjectsByType<T>(FindObjectsSortMode)
    
    
    
      Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    
    
    
    
      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 class DebugUIHandlerToggle : DebugUIHandlerWidget
  Fields
checkmarkImage
Checkermark image.
Declaration
public Image checkmarkImage
  Field Value
| Type | Description | 
|---|---|
| Image | 
m_Field
Declaration
protected DebugUI.BoolField m_Field
  Field Value
| Type | Description | 
|---|---|
| DebugUI.BoolField | 
nameLabel
Name of the toggle.
Declaration
public Text nameLabel
  Field Value
| Type | Description | 
|---|---|
| Text | 
valueToggle
Value of the toggle.
Declaration
public Toggle valueToggle
  Field Value
| Type | Description | 
|---|---|
| Toggle | 
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.  | 
      
| DebugUIHandlerWidget | previous | Previous widget.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | True if the selection is allowed.  | 
      
Overrides
UpdateValueLabel()
Update the label.
Declaration
protected virtual void UpdateValueLabel()