Point and Click Movement in Unity!

With mouse buttons, 0 is left click, 1 is right click, and 2 is mouse wheel!
What ever you hit will be stored in the hit info
Point means the impact point in world space where the ray hit the collider.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store