Detect when the user touches a plane - Unity Learn

Eventually, the user’s touch on a plane will spawn a portal. In this tutorial, you will first determine whether or not the user has successfully touched a plane detected in the environment. To implement this functionality, you will use a technique called raycasting.