Photon Fusion
1.1.13
Fusion editor attribute for selective editor rendering. Condition member can be a property, field or method (with a return value). More...
Inherits DecoratingPropertyAttribute.
Inherited by DrawIfAttribute, and WarnIfAttribute.
Public Member Functions | |
| DoIfAttribute (string conditionMemberName) | |
| Base Constructor. More... | |
| DoIfAttribute (string conditionMemberName, bool compareToValue) | |
| Base Constructor. More... | |
| DoIfAttribute (string conditionMemberName, double compareToValue) | |
| Base Constructor. More... | |
Public Attributes | |
| DoIfCompareOperator | Compare |
| double | CompareToValue |
| string | ConditionMember |
Fusion editor attribute for selective editor rendering. Condition member can be a property, field or method (with a return value).
Value of condition method is converted to a long. Null = 0, False = 0, True = 1, Unity Object = InstanceId
| DoIfAttribute | ( | string | conditionMemberName, |
| double | compareToValue | ||
| ) |
Base Constructor.
| conditionMemberName | |
| compareToValue |
| DoIfAttribute | ( | string | conditionMemberName, |
| bool | compareToValue | ||
| ) |
Base Constructor.
| conditionMemberName | |
| compareToValue |
| DoIfAttribute | ( | string | conditionMemberName | ) |
Base Constructor.
| conditionMemberName |