예제 #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);
 }