Iphone input problem

I have been working on my game for several months but only on PC. I am just starting porting my game to the iPhone.

My first exercise is to make the 3rd person shooter example run on Iphone.

I am using the iPhoneAnalogSticks script from the occlusion culling example to handle the left stick and send the appropriate information to the character controller.

This works fine but any touch on the iphone screen is also interpreted as a mouse clic, i.e. “fire” in the 3rd person shooter example.

What should I do?

Remove the code that uses GetMouse etc or wrap that code in #if UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX while you wrap mobile only code in #if UNITY_IPHONE || UNITY_ANDROID

Thanks a lot for your swift reply.