docs.unity.cn
    Show / Hide Table of Contents

    Class DebugUIDrawerObjectPopupField

    Builtin Drawer for Object Popup Fields Items.

    Inheritance
    Object
    DebugUIDrawer
    DebugUIFieldDrawer<Object, DebugUI.ObjectPopupField, DebugStateObject>
    DebugUIDrawerObjectPopupField
    Inherited Members
    DebugUIFieldDrawer<Object, DebugUI.ObjectPopupField, DebugStateObject>.Begin(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Object, DebugUI.ObjectPopupField, DebugStateObject>.OnGUI(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Object, DebugUI.ObjectPopupField, DebugStateObject>.DoGUI(Rect, GUIContent, DebugUI.ObjectPopupField, DebugStateObject)
    DebugUIFieldDrawer<Object, DebugUI.ObjectPopupField, DebugStateObject>.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.ObjectPopupField))]
    public sealed class DebugUIDrawerObjectPopupField : DebugUIFieldDrawer<Object, DebugUI.ObjectPopupField, DebugStateObject>

    Methods

    DoGUI(Rect, GUIContent, DebugUI.ObjectPopupField, DebugStateObject)

    Does the field of the given type

    Declaration
    protected override Object DoGUI(Rect rect, GUIContent label, DebugUI.ObjectPopupField field, DebugStateObject state)
    Parameters
    Type Name Description
    Rect rect

    The rect to draw the field

    GUIContent label

    The label for the field

    DebugUI.ObjectPopupField field

    The field

    DebugStateObject state

    The state

    Returns
    Type Description
    Object

    The current value from the UI

    Overrides
    UnityEditor.Rendering.DebugUIFieldDrawer<UnityEngine.Object, UnityEngine.Rendering.DebugUI.ObjectPopupField, UnityEditor.Rendering.DebugStateObject>.DoGUI(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.Rendering.DebugUI.ObjectPopupField, UnityEditor.Rendering.DebugStateObject)

    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 08 September 2023