Hello Guest

Author Topic: 2D Toolkit Basic UI sample  (Read 4725 times)

ironquark

  • Newbie
  • *
  • Posts: 14
    • View Profile
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 »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
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.

ironquark

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: 2D Toolkit Basic UI sample
« Reply #2 on: October 04, 2015, 02:54:11 pm »
Thank you its working!!!