2
\$\begingroup\$

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

\$\endgroup\$
2
\$\begingroup\$

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);
}
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.