docs.unity.cn
    Show / Hide Table of Contents

    Class DebugUIDrawerHistoryEnumField

    Builtin Drawer for History Enum Debug Items.

    Inheritance
    Object
    DebugUIDrawer
    DebugUIFieldDrawer<Int32, DebugUI.HistoryEnumField, DebugStateEnum>
    DebugUIDrawerHistoryEnumField
    Inherited Members
    DebugUIFieldDrawer<Int32, DebugUI.HistoryEnumField, DebugStateEnum>.Begin(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Int32, DebugUI.HistoryEnumField, DebugStateEnum>.OnGUI(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Int32, DebugUI.HistoryEnumField, DebugStateEnum>.DoGUI(Rect, GUIContent, DebugUI.HistoryEnumField, DebugStateEnum)
    DebugUIFieldDrawer<Int32, DebugUI.HistoryEnumField, DebugStateEnum>.End(DebugUI.Widget, DebugState)
    DebugUIDrawer.Cast<T>(Object)
    DebugUIDrawer.Begin(DebugUI.Widget, DebugState)
    DebugUIDrawer.OnGUI(DebugUI.Widget, DebugState)
    DebugUIDrawer.End(DebugUI.Widget, DebugState)
    DebugUIDrawer.Apply(DebugUI.IValueField, DebugState, Object)
    DebugUIDrawer.PrepareControlRect(Single, Boolean)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    [DebugUIDrawer(typeof(DebugUI.HistoryEnumField))]
    public sealed class DebugUIDrawerHistoryEnumField : DebugUIFieldDrawer<int, DebugUI.HistoryEnumField, DebugStateEnum>

    Methods

    DoGUI(Rect, GUIContent, DebugUI.HistoryEnumField, DebugStateEnum)

    Does the field of the given type

    Declaration
    protected override int DoGUI(Rect rect, GUIContent label, DebugUI.HistoryEnumField field, DebugStateEnum state)
    Parameters
    Type Name Description
    Rect rect

    The rect to draw the field

    GUIContent label

    The label for the field

    DebugUI.HistoryEnumField field

    The field

    DebugStateEnum state

    The state

    Returns
    Type Description
    Int32

    The current value from the UI

    Overrides
    UnityEditor.Rendering.DebugUIFieldDrawer<System.Int32, UnityEngine.Rendering.DebugUI.HistoryEnumField, UnityEditor.Rendering.DebugStateEnum>.DoGUI(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.Rendering.DebugUI.HistoryEnumField, UnityEditor.Rendering.DebugStateEnum)

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 August 2023