private void ThrowGrenade() { if (grenade == null && !ForceField.isActive && ammoManager.CanThrowNade()) { grenade = Instantiate(grenadePrefab, transform.position, transform.rotation); grenade.gameObject.GetComponent <TimeGrenade>().Launched = true; grenade.gameObject.GetComponent <Rigidbody>().AddForce(transform.forward * throwForce, ForceMode.VelocityChange); ammoManager.ThrowNade(); } }