private void Update() { _timer += Time.deltaTime; gameTimer += Time.deltaTime; if ((/*Input.GetButton("Fire1") || */ JoysticShoot.IsShooting()) && _timer >= TimeBetweenBullets) { Shoot(); } if (_timer >= TimeBetweenBullets * EffectDisplayTime) { DisableEffects(); } }