Hey everyone! I kinda have 2 questions here so I'll just shoot them off one at a time:
How can I access the normal, hoover, and active states of a button threw script? Basically i have this GUI i scripted up and I want the 360 controler to work with the gui and i have a way to do it all threw code and basically just changing the state of the button so the user knows what button they are selecting even though they technically are not selecting anything since it will all be done in code. If there is a way to get to these states can someone post the JS line for me? Im expecting something long the lines of button.active = false (but obviously i have no idea how to access these states atm so im just throwing out an idea of what im looking for)
The above way isnt my preffered way for using the controller to interact with the gui but it's the only way I was able to come up with an idea in less then 20 mins with out knowing unity very well. I just started working with GUI 1 week ago and only been in unity for about 4 months. Sooo... with that said.. is there a better way ( in JS plz) to make the controler interact with the GUI buttons? I.E. scroll threw them, select a button and change volume on a slider... perhaps scroll down in a scroller window? Thanks all!