Randoms.RandomFloat(number = 0.0f, number = 0.0f) shared Generate a random float. Arguments Optional min number 0.0f Optional max number 0.0f Returns number The generated random float. Examples Randoms.RandomFloat – Generate a random float.