void PlayerFire() { nextFire = Time.time + fireRate; if (crossShotPickedUp) { for (int i = 0; i < CrossShots.Length; i++) { Instantiate(shot, CrossShots [i].position, CrossShots [i].rotation); } crossShotTicks--; if (crossShotTicks == 0) { crossShotPickedUp = false; crossShotTicks = 15; op.WearDown(); } } else if (!autoAttackActive) { Instantiate(shot, shotSpawn.position, shotSpawn.rotation); } op.Fire(); }