Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i am trying to detect the touch on android and is it possible to have a same function with touch which can work same as OnMouseUp() function

share|improve this question

closed as off-topic by Noctrine May 14 '14 at 16:18

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Noctrine
If this question can be reworded to fit the rules in the help center, please edit the question.

Seriously, Google that stuff:

There is a complete manual on unity. Took me just one google search.

share|improve this answer

if you want to develop the touch functionality you have to write input.getmousebuttondown,input.getmousebuttonup,input.getmousebutton will work.One more way also there touch pahse began,thouchphase.end. OnMouseUp() and OnMouseDown() will work only for windows,mac.It won't support for mobiles(ios and android).

check this links

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.