docs.unity3d.com
    Show / Hide Table of Contents

    Class FlushChildrenDrawer

    Inheritance
    Object
    GUIDrawer
    PropertyDrawer
    FlushChildrenDrawer
    Inherited Members
    PropertyDrawer.CreatePropertyGUI(SerializedProperty)
    PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
    PropertyDrawer.attribute
    PropertyDrawer.fieldInfo
    Namespace: Unity.InteractiveTutorials
    Syntax
    public class FlushChildrenDrawer : PropertyDrawer

    Properties

    ShouldDisplayFoldout

    Declaration
    public bool ShouldDisplayFoldout { get; }
    Property Value
    Type Description
    Boolean

    Methods

    DisplayChildProperty(Rect, SerializedProperty, SerializedProperty, GUIContent)

    Declaration
    protected virtual void DisplayChildProperty(Rect position, SerializedProperty parentProperty, SerializedProperty childProperty, GUIContent label)
    Parameters
    Type Name Description
    Rect position
    SerializedProperty parentProperty
    SerializedProperty childProperty
    GUIContent label

    GetChildPropertyHeight(SerializedProperty, SerializedProperty)

    Declaration
    protected virtual float GetChildPropertyHeight(SerializedProperty parentProperty, SerializedProperty childProperty)
    Parameters
    Type Name Description
    SerializedProperty parentProperty
    SerializedProperty childProperty
    Returns
    Type Description
    Single

    GetPropertyHeight(SerializedProperty, GUIContent)

    Declaration
    public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    SerializedProperty property
    GUIContent label
    Returns
    Type Description
    Single
    Overrides
    PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)

    OnGUI(Rect, SerializedProperty, GUIContent)

    Declaration
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    Rect position
    SerializedProperty property
    GUIContent label
    Overrides
    PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)
    Back to top
    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