Class FoldoutWithEnabledButtonAttribute
Draw a foldout with an Enabled toggle that shadows a field inside the foldout
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public class FoldoutWithEnabledButtonAttribute : PropertyAttribute
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 |