Method RandomRange
RandomRange(Single, Single)
Declaration
public static float RandomRange(float min, float max)
Parameters
Type | Name | Description |
---|---|---|
System.Single | min | |
System.Single | max |
Returns
Type | Description |
---|---|
System.Single |
RandomRange(Int32, Int32)
Declaration
public static int RandomRange(int min, int max)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | min | |
System.Int32 | max |
Returns
Type | Description |
---|---|
System.Int32 |