Class RandomUtils
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public static class RandomUtils
- Inheritance
-
objectRandomUtils
Methods
NextInt(int)
public static int NextInt(int max)
Parameters
maxint
Returns
- int
NextRange(Range<float>)
public static float NextRange(Range<float> range)
Parameters
rangeRange<float>
Returns
- float
NextRange(float, float)
public static float NextRange(float min, float max)
Parameters
minfloatmaxfloat
Returns
- float
Shuffle<T>(IList<T>)
public static void Shuffle<T>(this IList<T> list)
Parameters
listIList<T>
Type Parameters
T