public void Awake() { listener = GetComponent<CharacterEventListener>(); deathHandler = GetComponent<DeathHandler>(); target = GetComponent<Target>(); stats = new Dictionary<StatType, Stat>(); awaitingRegen = new Queue<StatType>(); }
public void Awake() { lootTrap = GetComponent<LootTrap>(); itemManager = GetComponent<ItemManager>(); listener = GetComponent<CharacterEventListener>(); }