Esempio n. 1
0
 private void OnDrawGizmos()
 {
     if (children.Length > 0)
     {
         Gizmos.color = new Color(1f, 1f, 1f, 0.25f);
         foreach (var child in children)
         {
             if (child != null)
             {
                 Math3D.Arrow2D(this.transform.position, child.transform.position, 2f);
             }
         }
     }
 }