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.MapGraph
Syntax
public static class RandomExtensions
Methods
NextColor(Random)
Declaration
public static Color32 NextColor(this Random rng)
Parameters
Type | Name | Description |
---|---|---|
System.Random | rng |
Returns
Type | Description |
---|---|
UnityEngine.Color32 |
NextDouble(Random, double, double)
Declaration
public static double NextDouble(this Random rng, double minValue, double maxValue)
Parameters
Type | Name | Description |
---|---|---|
System.Random | rng | |
double | minValue | |
double | maxValue |
Returns
Type | Description |
---|---|
double |
NextFloat(Random, float, float)
Declaration
public static float NextFloat(this Random rng, float minValue, float maxValue)
Parameters
Type | Name | Description |
---|---|---|
System.Random | rng | |
float | minValue | |
float | maxValue |
Returns
Type | Description |
---|---|
float |
NextFloat(Random)
Declaration
public static float NextFloat(this Random rng)
Parameters
Type | Name | Description |
---|---|---|
System.Random | rng |
Returns
Type | Description |
---|---|
float |