public void DropItem(GameObject dropZone, Vector3 dropPosition) { DropZone dropZoneScript = dropZone.GetComponent <DropZone>(); dropZoneScript.DropItem(_objectOnMouse, dropPosition); m_isDragging.Value = false; }