O'Reilly logo

Augmented Reality Game Development 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

Debugging

Unity provides a great interface in the editor for watching and editing the state of game objects and components while your game is running. While this will likely be the way you can debug most of your game, you may still encounter times where logic in a script needs a finer look. Fortunately, Unity also provides an excellent set of tools to allow you to debug your scripts in the editor while your game is running. Let's look at how you might start a debugging session:

  1. Open Unity with an empty project.

    Note

    If you are using Visual Studio, this exercise assumes that you have already installed the tools extension and configured the editor preferences.

  2. From the menu, select Assets | Import Package | Custom Package... and navigate to the Chapter_10_Assets ...

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