Class EnabledPropertyAttribute
Draw a FoldoutWithEnabledButtonAttribute on a single line
Inheritance
EnabledPropertyAttribute
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public sealed class EnabledPropertyAttribute : FoldoutWithEnabledButtonAttribute
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 |