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

Adding the environmental scanner

Now that we have a script that uses the component, let's add it to our scene as a new object. Return to the editor where we last left off and continue as follows:

  1. Open the HelloAR scene. From the menu, select File | Save as and save the scene as Main in the Assets/ARCoreML folder.
  2. Find and select First Person Camera in the Hierarchy window. Remember that you can use the search panel.
  3. Right-click (Ctrl + Click on Mac) on the First Person Camera and from the context menu, select Create Empty. Name the object as Environmental Scanner.
  4. Select the new object and in the Inspector window, add a new AudioSource component.
  5. Create a new folder called Audio in the Assets/ARCoreML path in the Project window.
  6. Open the ...

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