Question by
Alittar · Sep 12, 2017 at 06:45 PM ·
random.rangepicture
How to print a picture based on a variable number?
If i have a randomizer like this:
void Start () { ItemType = Random.Range (1, 5); } What would i do to make ItemType turn a 3 into a picture? Or print an image based on the number.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612134719im_/https://answers.unity.com/themes/thub/images/avi.jpg)