
Random.Range
public static float Range(float min, float max);
- Returns a random float number between and
min[inclusive] andmax[inclusive] (Read Only). maxis inclusive, so using Random.Range( 0.0f, 1.0f ) could return 1.0 as a value.


public static float Range(float min, float max);
min [inclusive] and max [inclusive] (Read Only).max is inclusive, so using Random.Range( 0.0f, 1.0f ) could return 1.0 as a value.