Пример #1
0
        public void Draw()
        {
            Vector2 pos = position;

            Gizmos.DrawSphere(pos, 0.1f * length);

            Vector2 pos2 = position + GetBias();

            Gizmos.DrawLine(pos, pos2);

            if (parent != null)
            {
                parent.Draw();
            }
        }