protected virtual void SpawnBullet(Transform origin) { GameObject bullet = poolScript.GetProjectile(bulletPrefab); bullet.transform.position = origin.position; bullet.transform.rotation = origin.rotation; bullet.transform.parent = gameTransform; bullet.SetActive(true); Ammo--; StartCoroutine(Reload(fireRate)); }