public void Drop(IUIDragable dragable)
        {
            var markerPoint = dragable as WorldObject;

            if (markerPoint?.Shape is MarkerPoint)
            {
                AttachObject(markerPoint);
            }
        }
Example #2
0
 public static void AddDragable(IUIDragable dragable)
 {
     AddClickable(dragable);
     dragable.BeforeDestroy += sender => _dragables.Remove(dragable);
     _dragables.Add(dragable);
 }