public void HighlightNode() { /*if (!showed.Contains(Convert.ToInt32(Go.name))) * return;*/ Vector2 _nodePos = BelongedNode.GetPos(); Vector2 _nodeSize = BelongedNode.GetSize(); Vector3 _center = new Vector3(_nodePos.x, 0, _nodePos.y); Vector3 _size = new Vector3(_nodeSize.x, 1, _nodeSize.y); Gizmos.DrawSphere(_center, _size.x / 10); }