Quantcast
Channel: Questions in topic: "selectiongrid"
Viewing all articles
Browse latest Browse all 94

Selection grid not working?

$
0
0
In the following code, it always prints 0 while I set it to 1, even when I press one of the buttons it does not change. Whats wrong with my code? var SelectedMPLevel :int = 1; var MpLevelImages :Texture2D[]; var colums :int = 3; function OnGui() { GUI.SelectionGrid(Rect(156, 250, 700, 400), SelectedMPLevel, MpLevelImages, colums); print(SelectedMPLevel); }

Viewing all articles
Browse latest Browse all 94

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>