public virtual void Clear() { this.ItemObjectInSlot?.DestroyItemObject(); this.ItemObjectInSlot = null; }
public abstract void DropItemObject(ItemObject droppedItem);
public override void DropItemObject(ItemObject droppedItem) { }
private bool TryChangeItems(ItemObject itemToChange) { return(this.TryInsertItem(itemToChange.Item) && ItemObject.StartDragSlot.TryInsertItem(this.ItemObjectInSlot.Item)); }
public void OnDrop(PointerEventData eventData) { ItemObject.DraggedItemObject.Remove(); ItemObject.StartDragSlot.GrabItemObject(); ItemObject.DragComplete(); }