IPhoneToMouse

Author: Kiyaku

Description
Sometimes, when i am working on an iPhone Application, the Client wants to try the game without using an iPhone. So i wrote a little script that converts some Mouse Functions into iPhoneInput function. You just have to add a few lines but can keep your original gameplay code.

Right now it can recognize touchCount 0 or 1, positions and returns "iPhoneTouchPhase Began, Moved, Ended".

Feel free to extend it!

Usage
Create a file named "iPhoneToMouse.cs" and add following code to it:

Add following lines to your scripts which include iPhoneTouch commands:

That's it!