Screen.SetResolution

Declaration

public static void SetResolution(int width, int height, FullScreenMode fullscreenMode, RefreshRate preferredRefreshRate);

Declaration

public static void SetResolution(int width, int height, FullScreenMode fullscreenMode);

Declaration

public static void SetResolution(int width, int height, bool fullscreen);

Description

This has the same functionality as Screen.SetResolution and also mimics platform-specific behavior in the Unity Editor.


Did you find this page useful? Please give it a rating: