Hey all,
within my GUI you’ll see this:
Function OnGUI(){
scrollViewVector = GUI.BeginScrollView (new Rect (140, 10, 768, 532), scrollViewVector, new Rect (0, 0, 12000, 512));
for(var i=0;i<images.Length;i++){
GUI.DrawTexture(Rect (0, 0, 768, 512), images*);*
-
}*
-
GUI.EndScrollView ();*
-
}*
What, I’m trying to do is populate the scroll box with images, but the loop only shows the last one (which I understand why) what i don’t know how to do is basically retrun all array elements? So I ask how I would do that…
Thanks, Josh.