コード例 #1
0
 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>();
 }