Quantcast
Channel: Answers for "NGUI Buttons"
Browsing all 4 articles
Browse latest 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


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 all 4 articles
Browse latest View live


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