![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Attribute to indicate that a field should be hidden when another field has a value of zero. More...
Public Member Functions | |
DontShowWhenZeroAttribute (string otherProperty) | |
Initializes a new instance of the PlatformerPro.DontShowWhenZeroAttribute class. More... | |
DontShowWhenZeroAttribute (string otherProperty, bool showWhenZero) | |
Initializes a new instance of the PlatformerPro.DontShowWhenZeroAttribute class. More... | |
Public Attributes | |
string | otherProperty |
Name of the other property. More... | |
bool | showWhenZero |
If true this property will be shown when other property is zero. More... | |
Attribute to indicate that a field should be hidden when another field has a value of zero.
PlatformerPro.DontShowWhenZeroAttribute.DontShowWhenZeroAttribute | ( | string | otherProperty | ) |
Initializes a new instance of the PlatformerPro.DontShowWhenZeroAttribute class.
otherProperty | Other property. |
PlatformerPro.DontShowWhenZeroAttribute.DontShowWhenZeroAttribute | ( | string | otherProperty, |
bool | showWhenZero | ||
) |
Initializes a new instance of the PlatformerPro.DontShowWhenZeroAttribute class.
otherProperty | Other property. |
showWhenZero | If set to true show when zero. |
string PlatformerPro.DontShowWhenZeroAttribute.otherProperty |
Name of the other property.
bool PlatformerPro.DontShowWhenZeroAttribute.showWhenZero |
If true this property will be shown when other property is zero.