HideFieldAttribute Class |
Namespace: DustProductions.Core
public class HideFieldAttribute : PropertyAttribute
The HideFieldAttribute type exposes the following members.
Name | Description | |
---|---|---|
HideFieldAttribute(Boolean) |
Simple constructor to just hide this, without evaluating anything
| |
HideFieldAttribute(String) |
Basic constructor
| |
HideFieldAttribute(String, Boolean) |
Constructor for not completely hiding the field
| |
HideFieldAttribute(String, Int32) |
Costructor for int evaluations
| |
HideFieldAttribute(String, Single) |
Constructor for float evaluations
| |
HideFieldAttribute(String, String) |
Constructor for string evaluations
| |
HideFieldAttribute(String, Type) |
Constructor for type evaluations
| |
HideFieldAttribute(String, Boolean, Boolean) |
Constructor for not completely hiding the field and inverting the evaluation
| |
HideFieldAttribute(String, Int32, Boolean) |
Constructor for int evaluations if the int is a bitmask
| |
HideFieldAttribute(String, Single, Single) |
Constructor for float evaluations with custom error
| |
HideFieldAttribute(String, String, StringComparison) |
Constructor for string evaluations with a custom comparison type
|
Name | Description | |
---|---|---|
AllowableFloatingPointError |
The amount of error in either direction you will allow when comparing floats
| |
CompletelyHide |
Whether or not you want to hide the field completely, or just make it not editable unless in debug mode in the inspector
| |
ConditionalSourceField |
The name of the field whose value will be evaluated into a true or false
| |
ConditionalSourceField2 |
The name of a second field that can be used to evaluate into true or false, if desired
| |
DesiredFloat |
The float value to compare against
| |
DesiredInt |
The int value to compare against
| |
DesiredString |
The string to compare against
| |
DesiredType |
The type value to compare against
| |
IntIsBitmask |
Whether or not to treat the int as a bitmask
| |
Inverse |
After performing all the evaluations, do you want to return the opposite?
| |
StringComparisonType |
The comparison type for string compares
|