Implement Click-To-Move

Use Physics.Raycast to identify where our ray has hit the terrain

Using our hit location we will update our nav mesh agent's destination to reflect where we have clicked

Move our character using raycasting and nav mesh agent Unity Docs - Physics.Raycast Unity Docs - RaycastHit VS Code shortcut list