Learn how to use Raycasts in a Unity game to do shot detection, line of sight checks, or even object selection. You’ll see how to use layers to filter objects and only select the correct ones and we’ll go through a few different samples of Physics.Raycast and Physics.Raycastall.