Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Oleksandr Sokil · Mar 08, 2014 at 04:10 PM · androiddouble-tap

Does android supports double tap?

Guys, does android supports double tap? And when I say that, I mean can I use tapCount == 2 in android games without any errors? Because I've read that you can use tapCount only for iPhones.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by fifthknotch · Mar 08, 2014 at 04:18 PM

There are several types of touch screens: 1) those like the iPhone that can read multiple input 2) those like the lower-end android that only can read one input at a time.

Some Android phones can read multiple, but not all. According to the Unity docs you should be able to use touchcount:

Mobile Devices:

iOS and Android devices are capable of tracking multiple fingers touching the screen simultaneously. You can access data on the status of each finger touching screen during the last frame by accessing the Input.touches property array.
Comment
Add comment · Show 9 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Oleksandr Sokil · Mar 08, 2014 at 05:25 PM 0
Share

So, I can use tapCount in android devices?

avatar image fifthknotch · Mar 08, 2014 at 05:38 PM 0
Share

You should be able to. I cannot find where it says you cannot or where in the documentation it specifies "Only for iOS".

avatar image fifthknotch · Mar 08, 2014 at 05:40 PM 0
Share

Check out this post:

http://answers.unity3d.com/questions/400023/touchtapcount-in-android-devices.html

avatar image Oleksandr Sokil · Mar 08, 2014 at 05:42 PM 0
Share

Ugh, from your answer I understood that I can't use tapCount(or I can?). So what can I use ins$$anonymous$$d?

avatar image fifthknotch · Mar 08, 2014 at 05:49 PM 0
Share

I just ran across that post and thought you might get some meaning out of it. It appears NOBODY knows if you can or cannot. You need to test it out on your android device and just see if it works. It makes no sense to me why it should not, but I only develop on iOS at the moment and cannot test for you.

What can you use ins$$anonymous$$d? -What are you trying to do?

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Application.OpenURL not working 1 Answer

Resize GUI Button (linked to website) ?? 1 Answer

Button reaction time problem 1 Answer

minSDKVersion on Android? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges