void SetSkillSlot(PlayerSkillSlot.PlayerSkillKeySlotEnum playerSkillKeySlotEnum)
 {
     if (CurrentSkill != null && !craftringController.IsOpen && isOpen)
     {
         skillSlot.SetSlot(playerSkillKeySlotEnum, CurrentSkill.Skill);
         inventory.DeleteSkill(CurrentSkill.Skill);
         UpdateUI();
     }
 }
Exemplo n.º 2
0
 public bool SetSlot(PlayerSkillSlot.PlayerSkillKeySlotEnum slotEnum, Skill skill)
 {
     return(skillSlot.SetSlot(slotEnum, skill));
 }