playMaker

Author Topic: NGUI swiping between buttons, triggering each one?  (Read 2016 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 268
NGUI swiping between buttons, triggering each one?
« on: September 07, 2014, 04:00:06 PM »
Hi, is swiping between buttons, i.e   2 buttons, swipe from one to the other, with the last button getting activated (without lifting) possible with playmaker?
I've read on Tasheren forum that it is but with a change in the UI BUTTON script.

At the moment, when I swipe from one button to the next, only the 1st button is triggered.

Has anyone else using NGUI come across this?
Thanks.

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: NGUI swiping between buttons, triggering each one?
« Reply #1 on: September 08, 2014, 12:49:31 PM »
Ok, I've found a few things out, but I'm still stuck!

Say I have a TOP button, a MIDDLE button and a BOTTOM button.

I think I need a NGUI / OnDrag on each button. But!  now, I need to follow where its getting dragged to.  By the way its for touch not mouse.

So just to clarify,  I want to be able to press down on say, the TOP button, then swipe down to the middle, so then the middle button is triggered.

How can I do this?
« Last Edit: September 08, 2014, 01:49:12 PM by Splankton »