Creating a Game for IPhone/Android but testing it on a P.C.

At the Moment I’m working on a game for the IPhone and Android but I only have the free version of unity. So my question is will code like “function OnMouseUp(){…}” work on the iphone and android if not what code can I use the will work for simply clicking a button but will work on all android/iphone and pc.

OnMouseUp, etc will not work on iOS/Android (there is no mouse). Instead, use Input.touches, and test your game using the Unity Remote apps available for both iOS and Android, which let you use your mobile device as a remote controller for the unity editor (also possible in the free version as of Unity 3.3).