DebugLine

Author: Spencer Evans

Description
DebugLine.cs provides 2 useful functions for debugging : DrawLine and DrawRay. These functions are almost identical to those provided in the Unity 3D engine Debug class, except in the following ways:
 * 1) The lines are drawn in the Game window using the lineRenderer component.
 * 2) A "width" option is provided - allowing the user to choose the width in pixels of the line drawn.
 * 3) The "depthTest" parameter in the Debug.DrawLine and Debug.DrawRay functions is unavailable; all lines are obscured by objects closer to the camera.

Usage

 * 1) Create a new folder titled "Plugins", and move it to your project's "/Assets" folder (if you haven't already).
 * 2) Create and place "DebugLine.cs" inside the "/Plugins" folder.
 * 3) Call the DebugLine.DrawLine or DebugLine.DrawRay functions just as you would with the Debug class.

Possible Changes?

 * a static camera member with associated 'set function'
 * can be set to modify which camera is being used to calculate the line width
 * or pass a camera each DrawLine/DrawRay call??