コード例 #1
0
 /// <summary>
 /// Place the specified content in the slot.
 /// </summary>
 /// <param name="content">Content to place (may be null).</param>
 public override void Place(Item content)
 {
     base.Place(content);
     if (content != null)
     {
         this.GetComponent <Image> ().sprite = equippedBackground;
         //Equip the new piece of equipment
         eUI.EquipFromSlot(this);
     }
 }