Version: 5.5
public static Resolution currentResolution ;

説明

現在の画面の解像度(読み取り専用)

プレイヤーが画面に合わせたモードで実行している場合、デスクトップの現在の解像度を返します。VR 用端末を使用するときは、代わりに VRSettings.eyeTextureWidthVRSettings.eyeTextureHeight を使用してください。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { print(Screen.currentResolution); } }