void Shoot() { BulletBehaviour newBullet = bulletPool.GetObjectFromPool(); newBullet.transform.SetPositionAndRotation(cannonTransform.position, cannonTransform.rotation); // TODO: apply ship velocity to bullet? newBullet.Fire(Vector3.zero, bulletLayerId); newBullet.gameObject.SetActive(true); }