private void Update() { module.Damage(attackPerSecond * Time.deltaTime); if (module.Broken) { Die(); } }