docs.unity.cn
    Show / Hide Table of Contents

    Class FoldoutWithEnabledButtonAttribute

    Draw a foldout with an Enabled toggle that shadows a field inside the foldout

    Inheritance
    Object
    Attribute
    PropertyAttribute
    FoldoutWithEnabledButtonAttribute
    EnabledPropertyAttribute
    Inherited Members
    PropertyAttribute.order
    Namespace: Unity.Cinemachine
    Syntax
    public class FoldoutWithEnabledButtonAttribute : PropertyAttribute, _Attribute

    Constructors

    FoldoutWithEnabledButtonAttribute(String)

    Constructor

    Declaration
    public FoldoutWithEnabledButtonAttribute(string enabledProperty = "Enabled")
    Parameters
    Type Name Description
    String enabledProperty

    The name of the field controlling the enabled state

    Fields

    EnabledPropertyName

    The name of the field controlling the enabled state

    Declaration
    public string EnabledPropertyName
    Field Value
    Type Description
    String
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Saturday, May 6, 2023