|
enum | ConditionType {
IsTrue
, IsFalse
, IsGreaterThan
, IsEqualTo
,
IsLessThan
, IsNotNull
, IsNull
} |
|
enum | VisibilityType { Hidden
, NotEditable
} |
|
|
| ConditionAttribute (string conditionPropertyName, ConditionType conditionType, VisibilityType visibilityType=VisibilityType.Hidden, float conditionValue=0f) |
| This attribute will determine the visibility of the target property based on some other property condition. Use this attribute if the target property depends on some other property inside the class. More...
|
|
| ConditionAttribute (string[] conditionPropertyNames, ConditionType[] conditionTypes, float[] conditionValues, VisibilityType visibilityType=VisibilityType.Hidden) |
|
|
string[] | conditionPropertyNames |
|
ConditionType[] | conditionTypes |
|
float[] | values |
|
VisibilityType | visibilityType |
|
◆ ConditionAttribute()
Lightbug.Utilities.ConditionAttribute.ConditionAttribute |
( |
string |
conditionPropertyName, |
|
|
ConditionType |
conditionType, |
|
|
VisibilityType |
visibilityType = VisibilityType.Hidden , |
|
|
float |
conditionValue = 0f |
|
) |
| |
|
inline |
This attribute will determine the visibility of the target property based on some other property condition. Use this attribute if the target property depends on some other property inside the class.
- Parameters
-
conditionPropertyName | Name of the property used by the condition. |
conditionType | The condition type. |
visibilityType | The visibility action to perform if the condition is not met. |
conditionValue | The condition argument value. |
The documentation for this class was generated from the following file:
- C:/Unity/Projects/CCP v1/Assets/Character Controller Pro/Main/Utilities/Scripts/ConditionAttribute.cs