use https://docs.unity3d.com/ScriptReference/Camera.ScreenPointToRay.html to change the material of an object when it is "clicked". Revert back to original if mouse is dragged.
use https://docs.unity3d.com/ScriptReference/Camera.ScreenPointToRay.html
to change the material of an object when it is "clicked". Revert back to original if mouse is dragged.