Okay, basically I have three questions.
-
Say I want to make a “speed” variable of type “float” to be a value between 10 and 15. What is the formatting for this?
-
If the script with this variable were attached to a prefab, would every instance of that prefab have a different “speed” value?
-
How would this randomization work? Like, what values would be selected? Would it just choose 10, 11, 12, 13, 14, and 15? Or would there be 10.5, 11, 11.5, 12, etc? Or would it go into even smaller numbers? Would there be a value of, say, 14.56783429?
Hopefully this is clear enough. Let me know if I need to clarify anything.