コード例 #1
0
 public void BlockSlot(EquipSlot slot, bool isBlocked) // only visually for now
 {
     slot.GetComponent <Image>().sprite = Resources.Load <Sprite>("Images/" + (isBlocked ? "BlackCross" : "Slot_RightHand") + ".png");
 }