Im triying to generate a random array of float in start of lenght 25, then using random.range on the start to give a value btwn 1 to 10.
public int counter = 0;
public float[] floats = new float[25];
// Start is called before the first frame update
void Start()
{
while (counter < numbers.Length)
{
counter++;
}
foreach (float value in floats)
{
Random.Range(1f, 11f);
print(floats[counter]);
}
}
Ik im doing smt wrong cuz im triying to use a while there too to count the lenght but... ye... thanks in advance!