To create an AR plane highlighter app, do the following:
- Delete the two cubes in the Hierarchy window.
- In the Hierarchy window, select the AR Session Origin GameObject. In the Inspector window, add an AR Plane Manager (Script) component by clicking the Add Component button and searching for AR Plane in the Inspector window. Ensure that Detection Mode is set to Everything.
- Now, add an AR Raycast Manager (Script) component to this GameObject by clicking the Add Component button and searching for AR Raycast in the Inspector window:

Figure 15.78 – The AR Plane Manager and AR Raycast Manager components of AR Session Origin
- Import the provided image; that is, plane_highligher.png.
- Add a 3D Plane named PlaneHighlighter to the scene. To do so, in the Hierarchy window, go to Create | 3D Object...