void Update() { ReloadLeft -= TimeManager.DeltaTime; if (PlayerInput.IsShooting()) { if (ReloadLeft <= 0f) { Parameters.SpawnBullet(BulletSpawnPoint, BulletsRoot); ReloadLeft = Parameters.ReloadTime; } } }