…In this video, I'm going to teach you some visual debugging…methods and a tip for making debugging more informative and quicker.…Visual debugging is useful in situations where we have…data that is more easily represented in visual form.…For example, drawing a line to indicate the heading of an object is a…bit easier to understand than reading the…rotation and position value of that object.…I'll also teach you about overwriting the ToString method, to allow us…to more quickly debug code, and make debugging outputs more human readable.…First, let's look at some of the visual debugging.…All of the visual debugging in Unity is done…through Gizmos, and we can see some of those here.…

For example, moving this object around.…We have a line and a target.…You can see the traveler Left is the object we're moving.…Gizmos are very useful for visual debugging, however they are only…in the debugger and it's only when the Gizmos button is checked.…They're most useful in situations like movement,…rotations, collisions or algorithms like pathfinding, anything…

Resume Transcript Auto-Scroll

Author

Released

6/10/2014

Unity is the number one game engine, the favorite of game developers working on iOS apps and console games alike. This course picks up the programming side of Unity, continuing where our other Unity courses leave off. Michael House concentrates on scripting, custom GUI controls, prefab customization, multiplayer networking features like chat, and optimizations that will make your game play better on mobile devices and desktops alike. Take a deep dive into Unity's controls and learn how to build more interactive, high-performance 3D games.

NOTE: This course requires Unity 4.5.5. The newer versions of Unity have done away with the GUI system used in this course, so the interfaces included for many of the scenes will not work with 4.6 and higher. You can download Unity 4.5.5 at http://unity3d.com/get-unity/download/archive.