Пример #1
0
        public void Setup(IMetaSelectable targetSelectable)
        {
            TargetSelectable = targetSelectable;

            SelectionMode.Selectable = targetSelectable;

            transform.parent = targetSelectable.GetTransform();
        }
Пример #2
0
        public void Setup(IMetaSelectable targetSelectable)
        {
            TargetSelectable = targetSelectable;

            SelectionMode.Selectable = targetSelectable;

            transform.parent = targetSelectable.GetTransform();

            TargetObject.transform.position = transform.position + Vector3.one * 5f;
        }