unity random range floate between min and max code example
Example: unity random float
// To get a random float between two values:
float number = Random.Range(0.0f, 3.0f);
// To get a random float between two values:
float number = Random.Range(0.0f, 3.0f);