- Home /
Question by
twoface262 · Jul 18, 2012 at 05:00 PM ·
javascriptarraylist
How to put buttons in a list?
Hello, I'm trying to do an inventory system and I'm having problems. I have all the objects in an array so far. How would I go about putting the buttons in a list? that way I can have the buttons only show when the item is present without having huge gaps. I'm using JavaScript
Comment
Best Answer
Answer by Meltdown · Jul 18, 2012 at 06:34 PM
Take a look at the GUILayout class.
Although I'd strongly recommend at looking at getting NGUI or a 3rd party tool for GUI stuff. NGUI also has a free version.
Thanks, I probably should've done a little more searching through unity's api before I came here. I didn't know that existed.