UnityEssentials
Small but useful tools and features for Unity
|
Extensions for int More...
Static Public Member Functions | |
static int | GetLooped (this int intToBeLooped, int exclusiveMaximum, int inclusiveMinimum=0, int variancePerStep=1) |
Loops returning the integer between a minimum and maximum (it does not update the looped int value). More... | |
Extensions for int
Definition at line 7 of file IntExtensions.cs.
|
static |
Loops returning the integer between a minimum and maximum (it does not update the looped int value).
exclusiveMaximum | The exclusive maximum value than can be obtained. |
inclusiveMinimum | The minimum value that can be obtained. |
variancePerStep | The value added to the int every time that the method is called. |
Definition at line 16 of file IntExtensions.cs.