Hello, I’m trying to make a a return method that will take any amount of floats and randomly pick between them and then return that value, but I seem to be having some trouble with the list aspect of this.
public float PickNumber (List<float> ChosenNumbers){
return ChosenNumbers[Random.Range(0, ChosenNumbers.Count)];
}