Class RandomExtensions
Inherited Members
Namespace: InsaneScatterbrain.Extensions
Syntax
public static class RandomExtensions
Methods
Next(Random, float, float)
Returns a random float an the range between min. and max.
Declaration
public static float Next(this Random random, float min, float max)
Parameters
| Type | Name | Description |
|---|---|---|
| Random | random | The random instance. |
| float | min | The min. value. |
| float | max | The max. value. |
Returns
| Type | Description |
|---|---|
| float | A random float between min and max |