unity
유니티 해상도 고정(안드로이드)
도마_
2015. 11. 20. 18:14
유니티에서 해상도 고정하는 방법.
[Android]
(스크립트가 시작시 - Start() 에서)
Screen.SetResolution(1280, 720, true); // 1280 x 720 으로 조정
Screen.SetResolution(Screen.width, (Screen.width / 2) * 3 ); // 2:3 비율로 개발시
Screen.SetResolution(Screen.width, Screen.width * 16 / 9, true); // 16:9 로 개발시
지정해 주면 고정비로 빌드가 되어 단말에서 지정 해상도로 출력이 된다.