Class EnabledPropertyAttribute
Draw a FoldoutWithEnabledButtonAttribute on a single line
Inheritance
EnabledPropertyAttribute
Namespace: Unity.Cinemachine
Syntax
public sealed class EnabledPropertyAttribute : FoldoutWithEnabledButtonAttribute, _Attribute
Constructors
EnabledPropertyAttribute(String, String)
Constructor
Declaration
public EnabledPropertyAttribute(string enabledProperty = "Enabled", string toggleText = "")
Parameters
Type | Name | Description |
---|---|---|
String | enabledProperty | The name of the field controlling the enabled state |
String | toggleText | Text to display to the right of the toggle button |
Fields
ToggleDisabledText
Text to display to the right of the toggle button when disabled
Declaration
public string ToggleDisabledText
Field Value
Type | Description |
---|---|
String |