private void HandleDamagePerSec() { if (SlothStats.refrence.state == SlothStats.E_STATE.WALKING) { timer_dmgPerClick.Tick(Time.deltaTime); if (timer_dmgPerClick.IsFinished()) { SlothStats.refrence.health.ReduceHealthBy(weaponInfo.curDamagePerSec); coinsInfo.AddCoins(weaponInfo.GetCoinsPerSec()); timer_dmgPerClick.Reset(); } } else { timer_dmgPerClick.Reset(); } }