private void SetupCamera() { camera.transform.position = new Vector3(tileGen.GetMapWidth() / 2, tileGen.GetMapHeight(), tileGen.GetMapHeight() / 2); int minZoom = 0; if (tileGen.GetMapHeight() > tileGen.GetMapWidth()) { minZoom = tileGen.GetMapHeight(); } else { minZoom = tileGen.GetMapWidth(); } mouseStatus.SetZoomLevel(minZoom); }