Skip to content

Instantly share code, notes, and snippets.

@inoook
Created June 22, 2014 08:31
Show Gist options
  • Save inoook/aa01edaaec0c608466ef to your computer and use it in GitHub Desktop.
Save inoook/aa01edaaec0c608466ef to your computer and use it in GitHub Desktop.
DrawCross
void DrawCross(Vector3 pos)
{
float size = 0.20f;
Debug.DrawLine(pos - new Vector3(0,0,size), pos + new Vector3(0,0,size), Color.red);
Debug.DrawLine(pos - new Vector3(size,0,0), pos + new Vector3(size,0,0), Color.red);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment