public void Update() { if (Player == null) { return; } remainingShotCooldownInSeconds -= Time.deltaTime; if (input.IsShooting()) { Shoot(); } }