public void FIRE(PhotonPlayer owner, float rangeMod, float speedMod) { if (reloadUntil <= Time.time) { BulletPhysics bullet = ((GameObject)Instantiate(shot, transform.position, transform.rotation)).GetComponent <BulletPhysics>(); bullet.Setup(owner, rangeMod, speedMod); reloadUntil = Time.time + reloadDelay; } }