Troubleshooting code

For those of you with less experience in troubleshooting code, follow this simple exercise:

  1. Open the Unity editor to a new blank project and starting scene.
  2. Create a Cube object in the scene.
  3. Select the Cube and in the Inspector window, click on Add Component. Select New Script and the set the name to Test and then click on Create and Add to add the script to the object, as follows:
Creating a new script with Add Component
  1. This will create a script in the root Assets folder. It's not the best place to drop a script, but this method is useful for creating quick test scripts.
Try to avoid writing replication/test or ...

Get Learn ARCore - Fundamentals of Google ARCore 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.