public void OnEndDrag(PointerEventData eventData) { Debug.Log("END DRAG"); cardPanel.OnEndDrag(); // May have been deleted (dragged into trash) if (cardPanel.GetModel() != null) { cardPanel.SetUseMetadata($"Move {this.cardPanel.GetModel().GetTitle()} panel"); } }