Пример #1
0
    public void Update()
    {
        IPoly poly = tree.GetPoly(transform.position);

        if (poly != null)
        {
            poly.Draw(Color.yellow);
        }
        else
        {
            Debug.DrawLine(Vector3.zero, Vector3.up);
        }
    }
Пример #2
0
 public void Draw(float time = -1F)
 {
     poly.Draw(time);
 }