ディスプレイ情報へのアクセス
Screen クラスは、サポートしている解像度のリスト、現在の解像度の変更、マウスポインターの 表示/非表示などを扱います。
| autorotateToLandscapeLeft | 左へ自動回転するかどうか |
| autorotateToLandscapeRight | 右へ自動回転するかどうか |
| autorotateToPortrait | 自動で縦回転するのを許可するかどうか |
| autorotateToPortraitUpsideDown | 逆さまにしたときに、自動で縦回転するのを許可するかどうか |
| currentResolution | 現在の画面の解像度(読み取り専用) |
| dpi | スクリーン/デバイスの現在の解像度(読み取り専用) |
| fullScreen | Is the game running full-screen? |
| fullScreenMode | Set this property to one of the values in FullScreenMode to change the display mode of your application. |
| height | ピクセル単位のスクリーンの高さ(読み取り専用) |
| orientation | 画面の論理的な方向を指定します |
| resolutions | All full-screen resolutions supported by the monitor (Read Only). |
| safeArea | Returns the safe area of the screen in pixels (Read Only). |
| sleepTimeout | 省電力設定。スクリーンが暗くなるまでのタイムアウトを設定します |
| width | ピクセル単位のスクリーンの幅(読み取り専用) |
| SetResolution | 画面の解像度を切り替えます |