![]() |
Able
Askowl Base Library Enabler
|
Simple class to represent the high and low bounds for a float. It includes a picker to randomly choose a number within that range More...
Public Member Functions | |
| Range () | |
| Default constructor used when the range is set in a MonoBehaviour in the Unity Editor More... | |
| Range (float min, float max) | |
| Constructor used to set the range directly or as initialisation for MonoBehaviour data More... | |
| float | Pick () |
| Choose a random number within the inclusive range More... | |
Public Member Functions inherited from Askowl.Pick< float > | |
| T | Pick () |
| Method to call to return the selection More... | |
Properties | |
| float | Min [get, set] |
| Lowest value a number can have in this range More... | |
| float | Max [get, set] |
| Highest value a number can have in this range More... | |
| Askowl.Range.Range | ( | ) |
| Askowl.Range.Range | ( | float | min, |
| float | max | ||
| ) |
| float Askowl.Range.Pick | ( | ) |
|
getset |
|
getset |