public void OnEndDrag(PointerEventData eventData) { draggableBuilding?.EndDrag(); draggableBuilding = null; buildingEntity = null; isInteractable = false; backgroundImage.color = Color.grey; }