See the matrix

We need to figure out what kind of numbers our mouse is throwing out. We can do this by using the Debug.Log() function. Whatever information we ask Debug.Log() to display will show up at the bottom of the screen while we test our game.

Get Unity 4.x Game Development by Example Beginner's Guide 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.