In this video we will go over how to select an object using the mouse and on how to use the unity raycast to get a gameobject, how to use maskLayer to make sure we are not selecting other objects, drawing the raycast in and editor using Debug.Drawray and more!
All the code in the tutorial:
https://www.nerdhead.dev/post/selecti...
Come hang out on discord
/ discord
https://www.patreon.com/NerdHead?fan_...