public virtual void DroppedOn(DropZone ZoneDropped) { if (GetComponent <DraggableElement>()) { GetComponent <DraggableElement>().Dragging = false; } if (GetComponent <ZoomOnHoverElement>()) { ZoomOnHoverElement ZoomElement = GetComponent <ZoomOnHoverElement>(); if (ZoomElement.Hovering) { ZoomElement.OriginalIndex = 0; } ZoomElement.Hovering = false; } ZoneAt = ZoneDropped; SlotAt = ZoneDropped.GetSlot(this); }