public static float RandomBetween(float min, float max) { return min + (float)Random.NextDouble() * (max - min); }