# Screen

> Access platform-specific display information.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.Device](/engine/6000.5/script-reference/unityengine/device.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static class Screen
```

## Remarks

This class has the same functionality as [Screen](/engine/6000.5/script-reference/unityengine/screen.md) and also mimics platform-specific behavior in the Unity Editor. Use it together with the Device Simulator to test platform-specific behaviors inside the Editor. Outside of the Editor, this class behaves exactly like the [Screen](/engine/6000.5/script-reference/unityengine/screen.md) class. Unity strips all simulation capabilities during the build process. Use the original [Screen](/engine/6000.5/script-reference/unityengine/screen.md) class if you work directly with the Unity Editor (for example, to create a custom Editor tool) and you don't need to use any simulated values.

## Static Properties

| Property                                                                                                                      | Description                                                                                                                                                                                                                      |
| ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [autorotateToLandscapeLeft](/engine/6000.5/script-reference/unityengine/device/screen/autorotatetolandscapeleft.md)           | This has the same functionality as [Screen.autorotateToLandscapeLeft](/engine/6000.5/script-reference/unityengine/screen/autorotatetolandscapeleft.md) and also mimics platform-specific behavior in the Unity Editor.           |
| [autorotateToLandscapeRight](/engine/6000.5/script-reference/unityengine/device/screen/autorotatetolandscaperight.md)         | This has the same functionality as [Screen.autorotateToLandscapeRight](/engine/6000.5/script-reference/unityengine/screen/autorotatetolandscaperight.md) and also mimics platform-specific behavior in the Unity Editor.         |
| [autorotateToPortrait](/engine/6000.5/script-reference/unityengine/device/screen/autorotatetoportrait.md)                     | This has the same functionality as [Screen.autorotateToPortrait](/engine/6000.5/script-reference/unityengine/screen/autorotatetoportrait.md) and also mimics platform-specific behavior in the Unity Editor.                     |
| [autorotateToPortraitUpsideDown](/engine/6000.5/script-reference/unityengine/device/screen/autorotatetoportraitupsidedown.md) | This has the same functionality as [Screen.autorotateToPortraitUpsideDown](/engine/6000.5/script-reference/unityengine/screen/autorotatetoportraitupsidedown.md) and also mimics platform-specific behavior in the Unity Editor. |
| [brightness](/engine/6000.5/script-reference/unityengine/device/screen/brightness.md)                                         | This has the same functionality as [Screen.brightness](/engine/6000.5/script-reference/unityengine/screen/brightness.md). At the moment, the Device Simulator doesn't support simulation of this property.                       |
| [currentResolution](/engine/6000.5/script-reference/unityengine/device/screen/currentresolution.md)                           | This has the same functionality as [Screen.currentResolution](/engine/6000.5/script-reference/unityengine/screen/currentresolution.md) and also mimics platform-specific behavior in the Unity Editor.                           |
| [cutouts](/engine/6000.5/script-reference/unityengine/device/screen/cutouts.md)                                               | This has the same functionality as [Screen.cutouts](/engine/6000.5/script-reference/unityengine/screen/cutouts.md) and also mimics platform-specific behavior in the Unity Editor.                                               |
| [dpi](/engine/6000.5/script-reference/unityengine/device/screen/dpi.md)                                                       | This has the same functionality as [Screen.dpi](/engine/6000.5/script-reference/unityengine/screen/dpi.md) and also mimics platform-specific behavior in the Unity Editor.                                                       |
| [fullScreen](/engine/6000.5/script-reference/unityengine/device/screen/fullscreen.md)                                         | This has the same functionality as [Screen.fullScreen](/engine/6000.5/script-reference/unityengine/screen/fullscreen.md) and also mimics platform-specific behavior in the Unity Editor.                                         |
| [fullScreenMode](/engine/6000.5/script-reference/unityengine/device/screen/fullscreenmode.md)                                 | This has the same functionality as [Screen.fullScreenMode](/engine/6000.5/script-reference/unityengine/screen/fullscreenmode.md) and also mimics platform-specific behavior in the Unity Editor.                                 |
| [height](/engine/6000.5/script-reference/unityengine/device/screen/height.md)                                                 | This has the same functionality as [Screen.height](/engine/6000.5/script-reference/unityengine/screen/height.md) and also mimics platform-specific behavior in the Unity Editor.                                                 |
| [mainWindowDisplayInfo](/engine/6000.5/script-reference/unityengine/device/screen/mainwindowdisplayinfo.md)                   | The Device Simulator doesn't simulate this property.                                                                                                                                                                             |
| [mainWindowPosition](/engine/6000.5/script-reference/unityengine/device/screen/mainwindowposition.md)                         | The Device Simulator doesn't simulate this property.                                                                                                                                                                             |
| [msaaSamples](/engine/6000.5/script-reference/unityengine/device/screen/msaasamples.md)                                       | This has the same functionality as [Screen.msaaSamples](/engine/6000.5/script-reference/unityengine/screen/msaasamples.md) and also mimics platform-specific behavior in the Unity Editor.                                       |
| [orientation](/engine/6000.5/script-reference/unityengine/device/screen/orientation.md)                                       | This has the same functionality as [Screen.orientation](/engine/6000.5/script-reference/unityengine/screen/orientation.md) and also mimics platform-specific behavior in the Unity Editor.                                       |
| [resolutions](/engine/6000.5/script-reference/unityengine/device/screen/resolutions.md)                                       | This has the same functionality as [Screen.resolutions](/engine/6000.5/script-reference/unityengine/screen/resolutions.md) and also mimics platform-specific behavior in the Unity Editor.                                       |
| [safeArea](/engine/6000.5/script-reference/unityengine/device/screen/safearea.md)                                             | This has the same functionality as [Screen.safeArea](/engine/6000.5/script-reference/unityengine/screen/safearea.md) and also mimics platform-specific behavior in the Unity Editor.                                             |
| [sleepTimeout](/engine/6000.5/script-reference/unityengine/device/screen/sleeptimeout.md)                                     | This has the same functionality as [Screen.sleepTimeout](/engine/6000.5/script-reference/unityengine/screen/sleeptimeout.md). At the moment, the Device Simulator doesn't support simulation of this property.                   |
| [width](/engine/6000.5/script-reference/unityengine/device/screen/width.md)                                                   | This has the same functionality as [Screen.width](/engine/6000.5/script-reference/unityengine/screen/width.md) and also mimics platform-specific behavior in the Unity Editor.                                                   |

## Static Methods

| Method                                                                                            | Description                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [GetDisplayLayout](/engine/6000.5/script-reference/unityengine/device/screen/getdisplaylayout.md) | The Device Simulator doesn't simulate this property.                                                                                                                                             |
| [MoveMainWindowTo](/engine/6000.5/script-reference/unityengine/device/screen/movemainwindowto.md) | The Device Simulator doesn't simulate this method.                                                                                                                                               |
| [SetMSAASamples](/engine/6000.5/script-reference/unityengine/device/screen/setmsaasamples.md)     | This has the same functionality as [Screen.SetMSAASamples](/engine/6000.5/script-reference/unityengine/screen/setmsaasamples.md) and also mimics platform-specific behavior in the Unity Editor. |
| [SetResolution](/engine/6000.5/script-reference/unityengine/device/screen/setresolution.md)       | This has the same functionality as [Screen.SetResolution](/engine/6000.5/script-reference/unityengine/screen/setresolution.md) and also mimics platform-specific behavior in the Unity Editor.   |
