프로그래밍/Unity3D

[Unity3D] C# 해당기기 해상도 가져오기

배고픈멍멍이 2015. 4. 10. 13:55

int i_width = Screen.width;

int i_height = Screen.height;

 

 

해상도를 Start메소드나 Awake에서 불러와서 저장해놓고,

필요에 따라 사용(예를들어 해상도별 비율조절이라던지..)