// Update is called once per frame void Update() { if (!Pause.Paused) { if (Input.GetKeyDown(KeyCode.Return)) { if (AmmoManagerObj.HasAmmo) { print("Shooting Projectile"); Instantiate(Projectile, FirePoint.position, FirePoint.rotation); AmmoManager.UseAmmo(); } } } }