Esempio n. 1
0
 private void OnDestroy()
 {
     Buffs.AddToDamage(-_profile.data.damageBuff);
     Buffs.AddToHealth(-_profile.data.healthBuff);
     Buffs.AddToRange(-_profile.data.rangeBuff);
     Buffs.AddToFireRate(-_profile.data.fireRateBuff);
 }
Esempio n. 2
0
    private void Start()
    {
        _profile = GetComponent <BuffTowerProfileHandler>();

        Buffs.AddToDamage(_profile.data.damageBuff);
        Buffs.AddToHealth(_profile.data.healthBuff);
        Buffs.AddToRange(_profile.data.rangeBuff);
        Buffs.AddToFireRate(_profile.data.fireRateBuff);
    }