Replace Touch commands with mouse events

How could I replace touch commands with mouse events for testing on my PC.

2 Answers

2

Use platform-dependent code, and code alternative input.

Or, when Unity Android has Unity Remote, buy that, and you won't need a Mac (though a Mac would be cheaper...).

There are several Macs cheaper than $1500 (if you have Unity Pro already) and plenty under $3000 (if you don't). I'm assuming this is just trolling?

Well there are a lot of functions like

OnMouseEnter

OnMouseExit

etc..

I recommend you looking for those functios here:

http://unity3d.com/support/documentation/ScriptReference/