public void CraftButtonPressed()
 {
     if (currentItem)
     {
         currentItem.Craft();
     }
 }
Example #2
0
 public void CraftbuttonPressed()
 {
     currentItem.Craft();
     ClearInventorySlot();
     MakeInventorySlot();
     if (currentItem.numberHeld == 0 && !currentItem.craftable)
     {
         SetButton(false);
     }
 }