public void ResetShot() // this function resets the cannon, is run when the player misses the shot { DecreaseScore(); cameraController.zoomed = false; cannonController.ResetCannon(); cannonController.CreateNewBullet(); // creates a new bullet of the same type }