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 sriram90 · May 23, 2013 at 02:44 PM · guitextureonguiguibutton

Problem with UI in iOS / Android

Hi guys,

Am facing a very strange problem with touching on UI.

alt text

From image, i have joystick buttons on left and right (Both are GUI Textures), and middle one is the pause button (GUI button in OnGUI). If i touch both left and right joystick buttons at the same time , the pause button action is occurring and game is going to pause mode ?

can anyone explain what is the problem ? And how can i resolve it ?

Thanks.

screen shot 2013-05-23 at 7.45.56 pm.png (19.9 kB)
Comment
Add comment · Show 3
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 Tomer-Barkan · May 23, 2013 at 04:07 PM 0
Share

What device are you using? $$anonymous$$aybe it doesn't support multi-touch. Also, share your code that handles the touches.

avatar image Graham-Dunnett ♦♦ · May 23, 2013 at 08:50 PM 0
Share

Probably better to be using Input.GetTouch() and Rect.Contains() to decide if the touch is on your buttons.

avatar image sriram90 · May 24, 2013 at 04:36 AM 0
Share

Hi @tbkn am using ios and android, both having the same issues. No, it's supporting multi touch, and i didn't disable the multi touch.

1 Reply

· Add your reply
  • Sort: 
avatar image
-1

Answer by skoandi · May 23, 2013 at 04:40 PM

This is a bug, I've seen some people on the forums that also have this problem :) Use the bug reporter so Unity can fix it :) I hope it's getting fixed in 4.2

Comment
Add comment · Show 7 · 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 Tomer-Barkan · May 23, 2013 at 07:17 PM 0
Share

Can you describe when this bug occurs? I created a game where two players touch the screen at the same time and it works fine.

avatar image skoandi · May 23, 2013 at 07:26 PM 0
Share

idk I just saw some people talkin about it on the forums

avatar image Graham-Dunnett ♦♦ · May 23, 2013 at 08:17 PM 0
Share

So, is it a bug or isn't it a bug? If it's been reported as a bug, then share the bug number.

avatar image sriram90 · May 24, 2013 at 04:39 AM 0
Share

Hi @tbkn, Its happening When touching the both of joysticks (Down button) at same time.

avatar image skoandi · May 24, 2013 at 11:54 AM 0
Share

Why did someone down vote my answer? Don't you guys know what a bug is?

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

16 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

Related Questions

Whats best to use - OnGUI or inserting Texture objects 1 Answer

How to make OnGUI Texture able to be clicked 1 Answer

Long press on EXISTED GUITexture 1 Answer

GUI on iPhone...GUI.DrawTexture or guiTexture.pixelInset ? 1 Answer

What's the easiest way to make a texture button with a hover state? 3 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