Пример #1
0
 protected override void DisplayBounds()
 {
     if (col != null)
     {
         GizmosHelper.DrawWireCube(col.bounds.Center, col.bounds.Size, boundsColor);
     }
 }
Пример #2
0
 protected override void DisplayCollider()
 {
     GizmosHelper.DrawShpere(transform.position, radius, colliderColor);
 }
Пример #3
0
 protected override void DisplayCollider()
 {
     GizmosHelper.DrawWireCube(transform.position, size, Quaternion.Euler(0, transform.rotation.eulerAngles.y, 0), colliderColor);
 }
Пример #4
0
 protected override void DisplayCollider()
 {
     GizmosHelper.DrawCylinder(transform.position, radius, height, colliderColor);
 }