コード例 #1
0
 public virtual void SetResolution(int width, int height, FullScreenMode fullscreenMode, int preferredRefreshRate)
 {
     EditorScreen.SetResolution(width, height, fullscreenMode, preferredRefreshRate);
 }
コード例 #2
0
 public virtual void GetDisplayLayout(List <DisplayInfo> displayLayout) => EditorScreen.GetDisplayLayout(displayLayout);
コード例 #3
0
 public static void SetResolution(int width, int height, bool fullscreen, [DefaultValue("0")] int preferredRefreshRate)
 {
     EditorScreen.SetResolution(width, height, fullscreen ? FullScreenMode.FullScreenWindow : FullScreenMode.Windowed, preferredRefreshRate);
 }
コード例 #4
0
 public static void SetResolution(int width, int height, bool fullscreen)
 {
     EditorScreen.SetResolution(width, height, fullscreen, 0);
 }
コード例 #5
0
 public static void SetResolution(int width, int height, FullScreenMode fullscreenMode)
 {
     EditorScreen.SetResolution(width, height, fullscreenMode, 0);
 }