Heya.
I'm new to NGUI - I played with the evaluation version and just purchased the full version - am having much fun with it!
I'm relatively new to C#, as most of my previous 'coding' experience is scripting for levels, etc. in lua or similar.
Is there an easy way to emulate a button press on a button object (e.g. a message or series of messages I can send the GameObject or similar) in order to fake a user input procedurally?
The two scenarios I'm looking at are:
1. A UI panel with a timer and a default action. If the timer expires, the default action occurs - but I'd also like to invoke all the FX, audio, etc. on the button to make it clear to the user what just happened.
2. A menu button on the Android that has a button which is 'pressed' if the back button is pressed on the device. Again, I want to make it clear and obvious to the user exactly what the game is doing. My exact scenario is a pause menu that has three options: resume, restart and quit. The quit button is the one I want to invoke when the back button is pressed.
Thanks
=Don