Method | Description | |
---|---|---|
NextRandom ( ) : float |
Return a random float between 0.0 (inclusive) and 1.0 (exclusive.)
|
|
NextRandom ( float range ) : float |
Return a random float between 0.0 and range, inclusive from both ends.
|
|
NextRandom ( float min, float max ) : float |
Return a random float between min and max, inclusive from both ends.
|
|
NextRandom ( int min, int max ) : int |
Return a random integer between min and max - 1.
|
public static NextRandom ( float range ) : float | ||
range | float | |
return | float |
public static NextRandom ( float min, float max ) : float | ||
min | float | |
max | float | |
return | float |
public static NextRandom ( int min, int max ) : int | ||
min | int | |
max | int | |
return | int |