I want draw new shapes in Sence for example I want Debug.DrawSphere can I Debug.DrawCollider? Is possible that I Debug.DrawSphereCast


1 Answer 1


You could use unity's Gizmos to draw cubes and spheres. Script Reference.

void OnDrawGizmos()
    Gizmos.color = Color.red;
    Gizmos.DrawSphere(this.transform.position, 1);
  • 1
    \$\begingroup\$ @nights For drawing shapes in the build, you could use ALINE. \$\endgroup\$
    – Iggy
    Commented Jun 25, 2020 at 8:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .