public void Update() { IPoly poly = tree.GetPoly(transform.position); if (poly != null) { poly.Draw(Color.yellow); } else { Debug.DrawLine(Vector3.zero, Vector3.up); } }
public void Draw(float time = -1F) { poly.Draw(time); }