/// <summary> /// <para> 작 성 자 : 이승엽 </para> /// <para> 작 성 일 : 2020.12.26 </para> /// <para> 내 용 : 아이템 드래그를 끝냈을 때 호출되는 기능 </para> /// </summary> private void Func_EndDrag() { if (MD_PlayManager.Instance.isSwap) { MD_PlayManager.Instance.isSwap = false; return; } isDragStart = false; dragImage.gameObject.SetActive(false); item.Func_SetItemData(item.itemData); }
public void Func_SetSlotData(MD_ItemData _itemData, MD_Drag_ItemImage _dragImage, MD_Inventory_Information _Information) { slotItem.Func_SetItemData(_itemData); slotItem.Func_SetItemInformationOBJ(_Information); slotItem.GetComponent <MD_ItemDrag>()?.Func_SetDragImage(_dragImage); }