I am developing an Android project using Unity. I want to know the equivalent of OnMouseDown() For touch devices.
Thanks in advance.
You should really check the Unity docs, it’s all there under Input in the Script reference:
You’ll want to check Input.touches for any Touch with TouchPhase.Began (the direct touch equivalent of OnMouseDown).