2D Toolkit Forum
2D Toolkit => Support => Topic started by: ironquark on October 03, 2015, 02:20:32 pm
-
Hello
I'm trying to understand the basics of 2D Toolkit Basic UI sample.
My question is, Where is the source code event of the NextPageButton? see this image: (http://s30.postimg.org/toxde3anl/2_D_Toolkit.png)
Instead of the event NextPage I want to change de source code of this button to close the game application.
For example:
Application.Quit();
Regards,
IronQuark
-
Those examples are bound in code. tk2dUIDemoController.cs, its bound in OnEnable, removed in OnDisable. You can also use drag and drop if you prefer that.
-
Thank you its working!!!