OnMouseDown for mobile

This 1 shows how we can implement our own versions of the onMouseDown for mobile. I noticed they use absolutely the same name “OnMouseDown” exactly the same as the normal unity method.

Question: Is Unity’s OnMouseDown directly deactivated when we implement this script into our project? If not how can we tell Unity to use our OnMouseDown instead of its own?

No, it is not deactivated. It just cant be invoked.

If you want to set different behaviors per platform, use #if UNITY_ANDROID for android and so on.

More in here