Пример #1
0
 /// <summary>
 /// Places the selected item on the player's hand.
 /// </summary>
 /// <param name="slotNumber"></param>
 private void SelectItemFromInventory(int slotNumber)
 {
     itemOnHand = inventory.SelectItem(slotNumber);
     if (itemOnHand != null)
     {
         itemOnHand.OnHand(rightHand.transform);
     }
 }