Changing Ortho Cam Size according to resolution
Ortho 카메라 크기를 해상도에 맞춰 바꾸기
public class CameraManager : MonoBehaviour
{
public float horizontalResolution = 1920;
void OnGUI ()
{
float currentAspect = (float) Screen.width / (float) Screen.height;
Camera.main.orthographicSize = horizontalResolution / currentAspect / 200;
}
}