Hello Guest

Author Topic: Differentiate between touch between scrollable area and Buttons.  (Read 4912 times)

Rakesh

  • Newbie
  • *
  • Posts: 4
    • View Profile
Hi, i am using the manual scrollable area and creating 10 buttons as the contents of the scroll area. Each button has different functions attached to it as to perform different actions. Now when i try to scroll, instead of scrolling button is getting selected.. how can i identify the touch to differentiate the touch for button and scroll area.. Please guide me.. Thanks in advance.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Differentiate between touch between scrollable area and Buttons.
« Reply #1 on: January 30, 2014, 10:43:54 am »
The button must have "Child of a UI item" ticked.

Rakesh

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Differentiate between touch between scrollable area and Buttons.
« Reply #2 on: January 30, 2014, 12:24:31 pm »
i need to use scroll also along with the tap on buttons.. if i keep extended touch on button then button function should happen..

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Differentiate between touch between scrollable area and Buttons.
« Reply #3 on: January 30, 2014, 12:32:24 pm »
tk2d doesn't do that. If you want that behaviour you will have to code it yourself.