유니티(unity)
[unity/c#] 유니티에서 강제로 해상도 지정하기
개발자 고포고
2022. 1. 20. 15:28
반응형
[unity/c#] 유니티에서 강제로 해상도 지정하기
#아래와 같이 활용하면된다.
//
// Summary:
// Switches the screen resolution.
//
// Parameters:
// width:
//
// height:
//
// fullscreen:
//
// preferredRefreshRate:
//
// fullscreenMode:
public static void SetResolution(int width, int height, bool fullscreen);
//위의 정의를 활용하여 활용하면된다.
Screen.SetResolution(1080, 1920, true);
#unity #유니티 #해상도 #고정해상도 #resolution #c#
반응형