Пример #1
0
        public void SetPosition(Vector2 position)
        {
            if (this.position == position)
            {
                return;
            }

            this.position = position;
            if (child != null)
            {
                Vector2 pos = position + GetBias();
                child.SetPosition(pos);
            }
        }