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 LinuxHacker · Jun 17, 2013 at 07:19 PM · androidtouchbuttons

Button isn't working

when im exporting my game on android; some buttons are not working, its kind of hard to explain, but when im exporting the game without the game scene levels (menu only) the buttons works properly; i made my game's home menu a touch to play , and two small option buttons on side; when I'm adding the game levels scenes ,they are not pressable. for starting the game; I'm using the if (Input.touchCount == 1) method.

Comment
Add comment · Show 9
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 InfiniBuzz · Jun 17, 2013 at 07:21 PM 0
Share

People are more likely to help you if you can provide a bit more detail about your setup (your code for example)

avatar image LinuxHacker · Jun 17, 2013 at 07:34 PM 0
Share

Sorry,my code is very complicated ,long and special therefore i really cant post/share it, if the problem is not clear im sorry, but you dont have to answer the question, thanx

avatar image InfiniBuzz · Jun 17, 2013 at 07:39 PM 0
Share

well don't get me wrong, I try to help... However noone really knows what can cause the error with this information.

but O$$anonymous$$, how do you check touches exactly because Input.touchCount returns how many touches are occouring, nothing more.

avatar image robertbu · Jun 17, 2013 at 07:40 PM 0
Share

With so little information, the best we could do is a wild guess. And UA tries to be about answering specific questions. A time honored technique to debug these kinds of problems is to attempt to produce a $$anonymous$$imal case. This can be done by either comment out any not-necessary (in terms of the bug) code in the current project, or by starting a new scene and it building up towards the offending code. Often the problem will become apparent. And if not, you will have a simple case to post to Unity Answers.

avatar image LinuxHacker · Jun 17, 2013 at 07:49 PM 0
Share

Ok, mainly im trying to ask for several good ways to get a touch input for the certain thing i ment earlear(the menu) ,do you have a way you think that will solve the problem with the buttons?

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by LinuxHacker · Jun 18, 2013 at 04:44 AM

I solved the problem by creating a button instead of the menu, thenx anyway!

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

15 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

Related Questions

Unity Bug, Letting User To touch two UI Buttons as same time (simultaneously) 1 Answer

Buttons and Touch area issue on android 0 Answers

How can I fix this Coroutine Camera? 1 Answer

Do UI Buttons work the same for Touch for an Android Game? 1 Answer

Help with touchscreen controls 2 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