Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to draw gizmos unity

void OnDrawGizmos()
    {
        Gizmos.color = Color.red;
        Gizmos.DrawLine(transform.position, transform.position + Vector3.forward);
    }
 
PREVIOUS NEXT
Tagged: #draw #gizmos #unity
ADD COMMENT
Topic
Name
4+1 =