array of images link to array of textmesh
HI please help me with this..
i am working on making a random question instead of having a text question im using of a image.. but im thinking of linking them.
if(randQuestion == -1) { randQuestion = Random.Range(0,5); } if(randQuestion > - 1) { GetComponent().text = questions [randQuestion]; }
with this i can display an array of question but i dont know how to make an array of images..
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612111835im_/https://answers.unity.com/themes/thub/images/avi.jpg)