docs.unity.cn
    Show / Hide Table of Contents

    Class DebugUIDrawerBoolField

    Builtin Drawer for Boolean Debug Items.

    Inheritance
    Object
    DebugUIDrawer
    DebugUIFieldDrawer<Boolean, DebugUI.BoolField, DebugStateBool>
    DebugUIDrawerBoolField
    Inherited Members
    DebugUIFieldDrawer<Boolean, DebugUI.BoolField, DebugStateBool>.Begin(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Boolean, DebugUI.BoolField, DebugStateBool>.OnGUI(DebugUI.Widget, DebugState)
    DebugUIFieldDrawer<Boolean, DebugUI.BoolField, DebugStateBool>.DoGUI(Rect, GUIContent, DebugUI.BoolField, DebugStateBool)
    DebugUIFieldDrawer<Boolean, DebugUI.BoolField, DebugStateBool>.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.BoolField))]
    public sealed class DebugUIDrawerBoolField : DebugUIFieldDrawer<bool, DebugUI.BoolField, DebugStateBool>

    Methods

    DoGUI(Rect, GUIContent, DebugUI.BoolField, DebugStateBool)

    Does the field of the given type

    Declaration
    protected override bool DoGUI(Rect rect, GUIContent label, DebugUI.BoolField field, DebugStateBool state)
    Parameters
    Type Name Description
    Rect rect

    The rect to draw the field

    GUIContent label

    The label for the field

    DebugUI.BoolField field

    The field

    DebugStateBool state

    The state

    Returns
    Type Description
    Boolean

    The value

    Overrides
    UnityEditor.Rendering.DebugUIFieldDrawer<System.Boolean, UnityEngine.Rendering.DebugUI.BoolField, UnityEditor.Rendering.DebugStateBool>.DoGUI(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.Rendering.DebugUI.BoolField, UnityEditor.Rendering.DebugStateBool)

    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