public void addSkill(SkillSlotsHandler skillSlotsHandler)
 {
     foreach (Skill skill in skills)
     {
         skillSlotsHandler.AddSkill(skill);
     }
 }
示例#2
0
 private void Awake()
 {
     playerTransform   = GetComponent <Transform>();
     inventoryHandler  = GetComponent <InventoryHandler>();
     taticalMovement   = GetComponent <TaticalMovement>();
     characterStats    = GetComponent <CharacterStats>();
     stateManager      = GetComponent <CharacterStateManager>();
     skillSlotsHandler = GetComponent <SkillSlotsHandler>();
 }