public override void StartCooldown() { duration.ResetTimer(); duration.SetActivity(true); coolDown.SetActivity(true); //Debug.Log("Duration"+abc.abilityDuration.Length+"cooldown"+abc.abilityCooldown.Length); abc.SetAbilityCooldown(slot, coolDown); abc.SetAbilityDuration(slot, duration); }
public virtual void StartCooldown() { coolDown.SetActivity(true); abc.SetAbilityCooldown(slot, coolDown); }