Random bool unity math 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);