Class DebugState
Serialized state of a Debug Item.
Namespace: UnityEditor.Rendering
Syntax
[Serializable]
public abstract class DebugState : ScriptableObject
Fields
m_QueryPath
Path of the Debug Item.
Declaration
protected string m_QueryPath
Field Value
Type | Description |
---|---|
String |
Properties
queryPath
Path of the Debug Item.
Declaration
public string queryPath { get; }
Property Value
Type | Description |
---|---|
String |
Methods
GetValue()
Returns the value of the Debug Item.
Declaration
public abstract object GetValue()
Returns
Type | Description |
---|---|
Object | Value of the Debug Item. |
OnEnable()
OnEnable implementation.
Declaration
public virtual void OnEnable()
SetValue(Object, DebugUI.IValueField)
Set the value of the Debug Item.
Declaration
public abstract void SetValue(object value, DebugUI.IValueField field)
Parameters
Type | Name | Description |
---|---|---|
Object | value | Input value. |
DebugUI.IValueField | field | Debug Item field. |