ORK Framework  2.22.0
API Documentation
ORKFramework.ORKEditorLimitAttribute Class Reference
Inheritance diagram for ORKFramework.ORKEditorLimitAttribute:

Public Member Functions

 ORKEditorLimitAttribute (int min, int max)
 
 ORKEditorLimitAttribute (float min, float max)
 
 ORKEditorLimitAttribute (string fieldName, bool isMax)
 
 ORKEditorLimitAttribute (int value, bool isMax)
 
 ORKEditorLimitAttribute (float value, bool isMax)
 
void Limit (ref int value)
 
void Limit (ref float value)
 

Public Attributes

int minInt = int.MinValue
 
int maxInt = int.MaxValue
 
float minFloat = float.MinValue
 
float maxFloat = float.MaxValue
 
bool isLimitByField = false
 
string limitFieldName = ""
 
bool fieldMaxLimit = false