Screen.SetResolution
Declaration
public static void SetResolution(int width, int height, FullScreenMode fullscreenMode, RefreshRate preferredRefreshRate);public static void SetResolution(int width, int height, FullScreenMode fullscreenMode);public static void SetResolution(int width, int height, bool fullscreen);Описание
Это имеет ту же функциональность, что и Screen.SetResolution и также имитирует платформенно-специфическое поведение в Unity Editor.