Documente Academic
Documente Profesional
Documente Cultură
Developer
View site on GitHub Statuses Archives
}
}
break;
}
}
}
}
}
Published on 07/01/2015 at 02h20 by pfonseca, tags Unity
6 comments
by Rahul Singh 19/10/2015 at 15h31
Awesome script..Thanks a lot.
by Logan Branjord 14/07/2015 at 20h58
This script worked great for me. Thanks for providing this. Ive used at least 10 other swipe scripts and I use this as my base now instead of any of
those.
by Num_T 14/06/2015 at 20h50
I may be getting slightly confused here. This code has been a great start for me and is working more or less as I expect.
However, I want to go on to perform more advanced stuff with it such as treating touches differently by determining whether they meet my criteria
for a swipe or not and I am a little concerned about the fact that there is of course an array of touches.
Shouldnt each touch have its own start time / end time, start position / end position? In theory are they overwriting each other at the moment? So if
you started a new touch at a critical moment say a frame before one was about to end it would reset the start time counter for example and what
should register as a swipe on the older touch would not?
If so I would probably go about setting up my own touch object inheriting from the Touch one and use instances with their own start end variables
etc. I was just wondering if I am right in thinking there is a potential problem as is or am just getting confused?!
Cheers
by sooon 06/05/2015 at 01h40
Hi, Thanks for the script. Work like a charm. Just curious, would it be better if using FixedUpdate? According to the document it update more
frequent than Update.
by PFonseca 07/04/2015 at 22h48
Ill try to create a double tap script.
by Gerick 19/03/2015 at 03h20
great!, thanks a lot
any idea for tap or double tap?
converted by W eb2PDFConvert.com
Email address
Your website
comment
Trackbacks are disabled
Search
Search
Tags
Android C# cocos2d cocos2d-x
Events iOS
Git
Swift Unity
Syndicate
Articles
Comments
architect-theme is maintained by jasonlong.
This page was generated by GitHub Pages using the Architect theme by Jason Long.
Powered by Publify
converted by W eb2PDFConvert.com
converted by W eb2PDFConvert.com