UnityEngine.Screen
class UnityEngine.Screen
Fields and Properties:
- (static) int UnityEngine.Screen.width
- (static) int UnityEngine.Screen.height
- (static) float UnityEngine.Screen.dpi
- (static) UnityEngine.Resolution UnityEngine.Screen.currentResolution
- (static) UnityEngine.Resolution[] UnityEngine.Screen.resolutions
- (static) bool UnityEngine.Screen.fullScreen
- (static) UnityEngine.FullScreenMode UnityEngine.Screen.fullScreenMode
- (static) UnityEngine.Rect UnityEngine.Screen.safeArea
- (static) UnityEngine.Rect[] UnityEngine.Screen.cutouts
- (static) bool UnityEngine.Screen.autorotateToPortrait
- (static) bool UnityEngine.Screen.autorotateToPortraitUpsideDown
- (static) bool UnityEngine.Screen.autorotateToLandscapeLeft
- (static) bool UnityEngine.Screen.autorotateToLandscapeRight
- (static) UnityEngine.ScreenOrientation UnityEngine.Screen.orientation
- (static) int UnityEngine.Screen.sleepTimeout
- (static) float UnityEngine.Screen.brightness
- (static) UnityEngine.Resolution[] UnityEngine.Screen.GetResolution
- (static) bool UnityEngine.Screen.showCursor
- (static) bool UnityEngine.Screen.lockCursor
Constructors:
- UnityEngine.Screen.New()
Methods:
- (static) void UnityEngine.Screen.SetResolution(int, int, UnityEngine.FullScreenMode, int)
- (static) void UnityEngine.Screen.SetResolution(int, int, UnityEngine.FullScreenMode)
- (static) void UnityEngine.Screen.SetResolution(int, int, bool, int)
- (static) void UnityEngine.Screen.SetResolution(int, int, bool)