ConditionalShowAttribute
Class in Zigurous.Utility
Inherits from ConditionalAttribute
Declaration
public sealed class ConditionalShowAttribute : ConditionalAttribute
Description
An attribute that shows a field in the editor based on a condition.
Constructors
ConditionalShowAttribute | Hides the field when the conditional field is true. |
Inherited
Properties
propertyDrawer | The type of property drawer to use to draw the field. |
conditionalField | The field being used to determine if the condition is met. |
show | Whether to show or hide the field when the condition is met. |
enumValue | The enum value to use to determine if the condition is met (only applicable if the conditional field is an enum). |
enumFlags | Whether the enum should be treated as a bit field (only applicable if the conditional field is an enum). |
sliderMinValue | The minimum value of the slider (only applicable for Slider property drawers). |
sliderMaxValue | The maximum value of the slider (only applicable for Slider property drawers). |