Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
2D Toolkit Basic UI sample
« previous
next »
Print
Pages: [
1
]
Author
Topic: 2D Toolkit Basic UI sample (Read 4725 times)
ironquark
Newbie
Posts: 14
2D Toolkit Basic UI sample
«
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:
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
«
Last Edit: October 03, 2015, 02:37:50 pm by ironquark
»
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: 2D Toolkit Basic UI sample
«
Reply #1 on:
October 04, 2015, 12:43:03 pm »
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.
Logged
ironquark
Newbie
Posts: 14
Re: 2D Toolkit Basic UI sample
«
Reply #2 on:
October 04, 2015, 02:54:11 pm »
Thank you its working!!!
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
2D Toolkit Basic UI sample