ドキュメント

Unity Engine

Unity Engine

SetResolution

This has the same functionality as Screen.SetResolution and also mimics platform-specific behavior in the Unity Editor.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

SetResolution(int, int, FullScreenMode, RefreshRate)

This has the same functionality as Screen.SetResolution and also mimics platform-specific behavior in the Unity Editor.
public static void SetResolution(int width, int height, FullScreenMode fullscreenMode, RefreshRate preferredRefreshRate)

Parameters

width


height


fullscreenMode


preferredRefreshRate

SetResolution(int, int, FullScreenMode)

This has the same functionality as Screen.SetResolution and also mimics platform-specific behavior in the Unity Editor.
public static void SetResolution(int width, int height, FullScreenMode fullscreenMode)

Parameters

width


height


fullscreenMode

SetResolution(int, int, bool)

This has the same functionality as Screen.SetResolution and also mimics platform-specific behavior in the Unity Editor.
public static void SetResolution(int width, int height, bool fullscreen)

Parameters

width


height


fullscreen