Пример #1
0
        public void MoveElement(IslandElement islandElement, Vector3 newPosition)
        {
            if (!islandElement.NearOthersController.IsActive)
            {
                return;
            }
            index.Move(islandElement, newPosition);
            var nearElements = GetElementsNear(islandElement);

            foreach (var nearElement in nearElements)
            {
                nearElement.NearOthersController.NotifyChanges();
            }
        }
Пример #2
0
 public void Move(ICircleElement element, Vector3 Position)
 {
     decoSpaceIndex.Move(element, Position);
 }