- Home /
Detect Input.touch on a PC
Hello, it is possible to detect a touch/tap (either Android or iOS) on a PC/MAC? I mean, can unity detect a mouse click as a touch?
Answer by dannyskim · Jan 17, 2012 at 06:34 PM
No, the touch information does not take mouse input when returning values to you, but the mouse input does count as touch information. So when you have say
Input.GetMouseButtonDown(0)
in your code and loaded onto Android or iOS, the first finger to touch the screen is reported as that button.
The only way for you to prototype touch input on your PC/MAC would be to use the Unity3D Remote found on either the Android Market or iOS Appstore, and connecting it over WiFi as the instructions for said application provide to you.
Answer by kaimelar · Jan 17, 2012 at 08:43 PM
I know unity can convert to your Input controls to Iphone controls well.But only you can check finger controls on Iphones or Ipads. Other way is you can test your applications with XCode connecting with Iphone ,IPad
Your answer
![](https://koobas.hobune.stream/wayback/20220613063108im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Started Scene on PC, transferred to mac, scene not showing up: Missing reference exception 0 Answers
Stop the dialogue box from appearing on PC/Mac builds 2 Answers
Mac/PC differences in directory symbols '\' and '/' 2 Answers
Unity + Dropbox + Mac + PC causing problems? 5 Answers
Problem viewing Unity project built on PC opened with Mac 0 Answers