hey guys i've making a quiz game for android and i'm using OnMouseDown function, but when I build the application on Android the function it doesn't work. Can you give me an alternative script for this.
here is the sample part of the script
textControl.selectedAnswer = gameObject.name;
textControl.choiceSelected = "y";
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
6 People are following this question.
How to make a system in unity
Jump by touch Unity C#
Voxel Busters Plugin & Admob build crash
Unity2d-Android-C#: How to convert current movement script to be used for touchscreen?
How to replace space keyboard with a simple tap on Android?