public void Drop(IUIDragable dragable) { var markerPoint = dragable as WorldObject; if (markerPoint?.Shape is MarkerPoint) { AttachObject(markerPoint); } }
public static void AddDragable(IUIDragable dragable) { AddClickable(dragable); dragable.BeforeDestroy += sender => _dragables.Remove(dragable); _dragables.Add(dragable); }