コード例 #1
0
 public override bool Check(DraggableComponent draggable)
 {
     return(draggable.GetComponent <SetItemIcon>().GetItem.slotPosition == SlotPosition.meelWeapon ||
            draggable.GetComponent <SetItemIcon>().GetItem.slotPosition == SlotPosition.accessories ||
            draggable.GetComponent <SetItemIcon>().GetItem.slotPosition == SlotPosition.armor ||
            draggable.GetComponent <SetItemIcon>().GetItem.slotPosition == SlotPosition.head ||
            draggable.GetComponent <SetItemIcon>().GetItem.slotPosition == SlotPosition.shoes);
 }
コード例 #2
0
 public override bool Check(DraggableComponent draggable)
 {
     return(draggable.GetComponent <SetItemIcon>().GetItem.slotPosition == SlotPosition.shoes);
 }
コード例 #3
0
ファイル: isWeapon.cs プロジェクト: grount0/Ziamever
 public override bool Check(DraggableComponent draggable)
 {
     return(draggable.GetComponent <Weapon>() != null);
 }