Array helpers.
More...
|
| static int | RoundIntToArray (int value, int[] array) |
| | Rounds an int to the closest int in an array (array has to be sorted)
|
| static float | RoundFloatToArray (float value, float[] array) |
| | Rounds a float to the closest float in an array (array has to be sorted)
|
◆ RoundFloatToArray()
| float MoreMountains.Tools.MMArray.RoundFloatToArray |
( |
float | value, |
|
|
float[] | array ) |
|
static |
Rounds a float to the closest float in an array (array has to be sorted)
- Parameters
-
- Returns
◆ RoundIntToArray()
| int MoreMountains.Tools.MMArray.RoundIntToArray |
( |
int | value, |
|
|
int[] | array ) |
|
static |
Rounds an int to the closest int in an array (array has to be sorted)
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Core/MMHelpers/MMArray.cs