O'Reilly logo

Learn ARCore - Fundamentals of Google ARCore by Micheal Lanham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the SceneSwitcher prefab

With the code complete, it is now time to build our SceneSwitcher prefab. Open the editor to the Navigation scene and complete the following:

  1. From the menu, select GameObject | UI | Canvas. Add the SceneSwitcher component (script) to the canvas and rename it as SceneSwitcher. Set the Map Camera property on the Scene Switcher to use the Main Camera.
  2. Select the SceneSwitcher object in the Hierarchy window and then, from the menu, select GameObject | UI | Panel. Set the properties of the panel, as shown in the following excerpt:
Setting the properties on the Panel
  1. Set the Anchor by clicking on the button and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required