Class RandomExtensions
Inheritance
object
RandomExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 |
---|---|---|
System.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 |