示例#1
0
 public virtual void Clear()
 {
     this.ItemObjectInSlot?.DestroyItemObject();
     this.ItemObjectInSlot = null;
 }
示例#2
0
 public abstract void DropItemObject(ItemObject droppedItem);
示例#3
0
文件: LootSlot.cs 项目: despin89/repo
 public override void DropItemObject(ItemObject droppedItem)
 {
 }
示例#4
0
 private bool TryChangeItems(ItemObject itemToChange)
 {
     return(this.TryInsertItem(itemToChange.Item) &&
            ItemObject.StartDragSlot.TryInsertItem(this.ItemObjectInSlot.Item));
 }
示例#5
0
文件: Scrapper.cs 项目: despin89/repo
 public void OnDrop(PointerEventData eventData)
 {
     ItemObject.DraggedItemObject.Remove();
     ItemObject.StartDragSlot.GrabItemObject();
     ItemObject.DragComplete();
 }