docs.unity3d.com
    Show / Hide Table of Contents

    Class DebugState<T>

    Generic serialized state of a Debug Item.

    Inheritance
    Object
    Object
    ScriptableObject
    DebugState
    DebugState<T>
    DebugStateBool
    DebugStateColor
    DebugStateEnum
    DebugStateFlags
    DebugStateFloat
    DebugStateInt
    DebugStateUInt
    DebugStateVector2
    DebugStateVector3
    DebugStateVector4
    Inherited Members
    DebugState.m_QueryPath
    DebugState.queryPath
    DebugState.OnEnable()
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEditor.Rendering
    Syntax
    [Serializable]
    public class DebugState<T> : DebugState
    Type Parameters
    Name Description
    T

    Fields

    m_Value

    Value of the Debug Item.

    Declaration
    [SerializeField]
    protected T m_Value
    Field Value
    Type Description
    T

    Properties

    value

    Value of the Debug Item

    Declaration
    public virtual T value { get; set; }
    Property Value
    Type Description
    T

    Methods

    GetHashCode()

    Returns the hash code of the Debug Item.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the Debug Item

    Overrides
    Object.GetHashCode()

    GetValue()

    Returns the value of the Debug Item.

    Declaration
    public override object GetValue()
    Returns
    Type Description
    Object

    Value of the Debug Item.

    Overrides
    DebugState.GetValue()

    SetValue(Object, DebugUI.IValueField)

    Set the value of the Debug Item.

    Declaration
    public override void SetValue(object value, DebugUI.IValueField field)
    Parameters
    Type Name Description
    Object value

    Input value.

    DebugUI.IValueField field

    Debug Item field.

    Overrides
    DebugState.SetValue(Object, DebugUI.IValueField)

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023