Screen space canvas

To support the app phases for Smart Terrain, we will introduce a screen space canvas that holds the instructions for the user and buttons for stepping through the phases. Let's build that now and then use it next. We will use some graphic sprites provided in the BallGameArt package; if you do not have these assets then just use default UI elements:

  1. In the root of your scene Hierarchy, create a new UI | Canvas and name it ScreenSpaceCanvas.
  2. Keep Render Mode as Screen Space - Overlay, but set UI Scale Mode to Scale With Screen Size and adjust the Match value to 0.5.

Create the title:

  1. Under ScreenSpaceCanvas, create a child UI | Panel named TitlePanel.
  2. Set its Anchor Presets to Top/Stretch, Height: 72, Pos Y: -36 so it ...

Get Augmented Reality for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.