Selecting Objects with Raycast in Unity

This is a Unity tutorial that will teach you how to select objects using raycasts. This technique is useful for selecting objects behind other objects, or even when the object has no collider on it (like an empty game object).

Chapters:

  • Intro
  • Overview of the example project
  • A preview of the final product
  • Tutorial
  • Testing our first pass
  • Fixing the initial code
  • Testing our second pass
  • Outro

https://www.youtube.com/watch?v=_yf5vzZ2sYE

By Infallible Code