Hello Guest

Author Topic: Disable input globally  (Read 4160 times)

Finnegan

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 38
    • View Profile
Disable input globally
« on: May 23, 2014, 04:45:15 pm »
I would like to have a flag for disabling all input for tk2dUIItems.

Should I just return from Press, UpdateTouch and Release when this flag is on? Or it can be done more effectively/safe?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Disable input globally
« Reply #1 on: May 23, 2014, 05:27:25 pm »
You can turn off the tk2dUIManager, that will turn off all interaction...

Finnegan

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Disable input globally
« Reply #2 on: May 23, 2014, 06:41:55 pm »
Oh, that's simple.  ??? Thank you!