/// <summary> /// Logic run when the player finishes /// the drag and drop action. /// </summary> /// <param name="playSound">bool - whether to play drop sound or not</param> public void EndDrag(bool playSound = true) { itemHandled = null; _canvasGroup.blocksRaycasts = true; _itemBox.HideHandlerImage(playSound); }