Forgive me if this is a huge oversight on my part, but I've looked everywhere for a tutorial that shows you how to get up and running using js and NGUI. I've found a ton of tutorials on how to change your atlas, add buttons to the scene, make them do cool animations, but absolutely nothing on how to make a button do something when it's clicked using js.
Using OnClick, I was able to get my button to print text to the screen but I want to know how to add more buttons. I'm sure there's a way of applying labels to a button to call in script so I have different buttons do different things but I can't find anything.
If anyone knows where I can find a tutorial on this, please let me know.
Thanks!