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
1
Question by NorthernEagle · Apr 09, 2012 at 08:58 AM · iostouchipadremotemultitouch

Unity Remote 3 and accessing multiple Input.touches?

Hello fellow Unity'ers, I'm currently coding my own little project for the new ipad. I've read all the docs on implementing Input.touch and have a left arrow, right arrow, fire button on multiple GUITextures that each respond correctly in Unity Remote 3. Only issue I've noticed is I can't press the left or right arrow button and fire at the same time. I've been told that there might be an issue with Remote 3 not handling touch.phase correctly. Is this true?

Thanks again.

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

4 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Jessy · Apr 09, 2012 at 01:30 PM

Unity Remote can get laggy, so you can't rely on it to report phase properly, but the same is true of running natively on an iOS device. You should code your buttons differently.

Comment
Add comment · Show 3 · 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 save · Apr 09, 2012 at 01:49 PM 1
Share

In addition to the lag you should setup an Ad Hoc network between the device and your computer.

avatar image Jessy · Apr 11, 2012 at 06:09 PM 1
Share

Ad hoc is always slower for me; the hardware in a $$anonymous$$acBook Pro can't compete with a network of AirPort stations.

avatar image NorthernEagle · Apr 11, 2012 at 11:17 PM 0
Share

That's true, my home wireless router is an Apple airport extreme and runs Unity Remote faster than the macbook air built-in router.

avatar image
1

Answer by NorthernEagle · Apr 09, 2012 at 11:07 PM

Thanks for the quick replies. I've created a private network between my macbook and the ipad. This is how I know that the GUITexture buttons work individually but not in groups like walking and shooting at the same time. Jesse, you're right, I need to rewrite my button code to allow multiple presses.

Comment
Add comment · Show 1 · 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 NorthernEagle · Apr 11, 2012 at 05:26 PM 0
Share

Thanks a mil Jessy. I spent all day yesterday locked in a dark room, goal in $$anonymous$$d to get true mul$$anonymous$$ch buttons and I did it! I don't know why this board won't allow me to click the thumbs up button on your reply. $$anonymous$$eep getting "you're not allowed to do that action". Is there anyway I can up your karma somehow? Thanks again!

avatar image
1

Answer by hirenkacha · Apr 26, 2012 at 06:44 AM

What solution u used in script..???

Comment
Add comment · Show 3 · 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 NorthernEagle · Apr 26, 2012 at 11:28 PM 0
Share

Hi Hiren, sorry I can't post the full c# code as it has alot of my custom coding for a potential game I might release eventually. I can say that the reason the Input.touch buttons weren't working because I coded the buttons to handle all the same touch id's. From what I understood, the touch interface has to assign a touch id to each screen touch so it can track it. $$anonymous$$y initial code allowed only 1 id and that is why the mul$$anonymous$$ch wasn't working. Hope that makes sense.

avatar image hirenkacha · Apr 27, 2012 at 08:00 AM 1
Share

Its ok.. I found a solution by using for loop for each touchCount.

avatar image NorthernEagle · Apr 28, 2012 at 11:19 PM 1
Share

Awesome! Great to hear that Hirenkacha!

avatar image
0

Answer by asianfanfics68 · May 02, 2019 at 10:15 AM

I have read your article, I find the content quite interesting and detailed, I hope in the near future, you will have more interesting and meticulous articles to give readers insight. More about this issue, Thank you for sharing this article.

fnaf world

Comment
Add comment · 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

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

6 People are following this question.

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

Related Questions

Unity Remote, no ip adres entry on iOS 7 0 Answers

Multitouch Missing On iPad 1 Answer

iOS multiTouch / release - Strange problem 0 Answers

Multi touch not working on iOS (does work on Android) 1 Answer

iOS -Touch position unchanged, deltaPosition reported -1 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