For example, I want, if I pull a “Bell”, an indicator of the number of points I got for it, to pop up (5-10(10 exclusive)). How would I go about doing this for all of the items?
You have to convert your float/int value to a string and then assign the string to a text variable. I will give you an example here. You can work around on your script with the help of this example, I believe.
public Text displayRandomRange; //Make sure to add a Text UI component in your scene.
private string convertedRandyFloat;
void somefunction(){
float randy = Random.Range(2.5f, 31.5f);
convertedRandyFloat = randy.ToString();
displayRandomRange.text = convertedRandyFloat;
}
If you want to display the random value in each loop, create separate local variables of string.