Mouse simulation from Unity3d doc?

Hi all,

I was trying to simulate touches with a keyboard and mouse and found this into the doc:

Mouse Simulation

On top of native touch support Unity iOS/Android provides a mouse simulation. You can use mouse functionality from the standard Input class.

what does this mean?

Mohydine

This means that the mousePosition property and the GetMouseButtonXXX functions of the Input class also work with mobile devices (even though there isn’t a mouse and they accept multiple touches). Essentially, Unity just tries to map touches onto the most obvious equivalent mouse action. A tap corresponds to a click, so the GetMouseButtonXXX functions will detect it and the position of the touch will be reported as the mouse position.

This is provided simply to allow code to be shared between desktop and mobile projects but naturally, it isn’t foolproof. For example, it doesn’t necessarily do what you would expect when there is more than one touch at a time.

Thank you Andee.