Quantcast
Channel: Answers for "NGUI Buttons"
Browsing latest articles
Browse All 4 View Live

Answer by fffMalzbier

Just create a function in the script that is attached to the button Game object. For example like this: void OnClick () { //Do stuff } That function will be called every time the button is pressed.

View Article


Answer by Geo.Ego

I wrote up a [tutorial][1] that just covers making a button in NGUI from scratch. As fffMalzbier said, you basically just need a script that does something in the OnClick () method, and the code inside...

View Article

Browsing latest articles
Browse All 4 View Live


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