public void Setup() { mapCamera = CreateTestMapCamera(); cameraXBounds = new Vector2(-10, 10); cameraYBounds = new Vector2(-10, 10); cameraZoomBounds = new Vector2(3, 10); mapCamera.SetCameraBounds(cameraXBounds.x, cameraXBounds.y, cameraYBounds.x, cameraYBounds.y); initialOrthographicSize = mapCamera.camera.orthographicSize; initialXPos = mapCamera.transform.position.x; initialYPos = mapCamera.transform.position.y; }