Class DebugUIHandlerWidget
Base class for handling UI actions for widgets.
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 DebugUIHandlerWidget : MonoBehaviour
  Fields
colorDefault
Default widget color.
Declaration
[HideInInspector]
public Color colorDefault
  Field Value
| Type | Description | 
|---|---|
| Color | 
colorSelected
Selected widget color.
Declaration
[HideInInspector]
public Color colorSelected
  Field Value
| Type | Description | 
|---|---|
| Color | 
m_Widget
Associated widget.
Declaration
protected DebugUI.Widget m_Widget
  Field Value
| Type | Description | 
|---|---|
| DebugUI.Widget | 
Properties
nextUIHandler
Next widget UI Handler.
Declaration
public DebugUIHandlerWidget nextUIHandler { get; set; }
  Property Value
| Type | Description | 
|---|---|
| DebugUIHandlerWidget | 
parentUIHandler
Parent widget UI Handler.
Declaration
public DebugUIHandlerWidget parentUIHandler { get; set; }
  Property Value
| Type | Description | 
|---|---|
| DebugUIHandlerWidget | 
previousUIHandler
Previous widget UI Handler.
Declaration
public DebugUIHandlerWidget previousUIHandler { get; set; }
  Property Value
| Type | Description | 
|---|---|
| DebugUIHandlerWidget | 
Methods
CastWidget<T>()
Casts the widget to the correct type.
Declaration
protected T CastWidget<T>() where T : DebugUI.Widget
  Returns
| Type | Description | 
|---|---|
| T | Properly cast reference to the widget.  | 
      
Type Parameters
| Name | Description | 
|---|---|
| T | Type of the widget.  | 
      
Next()
Next implementation.
Declaration
public virtual DebugUIHandlerWidget Next()
  Returns
| Type | Description | 
|---|---|
| DebugUIHandlerWidget | Next widget UI handler, parent if there is none.  | 
      
OnAction()
OnAction implementation.
Declaration
public virtual void OnAction()
  OnDecrement(bool)
OnDecrement implementation.
Declaration
public virtual void OnDecrement(bool fast)
  Parameters
| Type | Name | Description | 
|---|---|---|
| bool | fast | Trye if decrementing fast.  | 
      
OnDeselection()
OnDeselection implementation.
Declaration
public virtual void OnDeselection()
  OnEnable()
OnEnable implementation.
Declaration
protected virtual void OnEnable()
  OnIncrement(bool)
OnIncrement implementation.
Declaration
public virtual void OnIncrement(bool fast)
  Parameters
| Type | Name | Description | 
|---|---|---|
| bool | fast | True if incrementing fast.  | 
      
OnSelection(bool, DebugUIHandlerWidget)
OnSelection implementation.
Declaration
public virtual 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.  | 
      
Previous()
Previous implementation.
Declaration
public virtual DebugUIHandlerWidget Previous()
  Returns
| Type | Description | 
|---|---|
| DebugUIHandlerWidget | Previous widget UI handler, parent if there is none.  |