言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Screen.currentResolution

public static var currentResolution: Resolution;

Description

現在の画面の解像度 (Read Only)

If the player is running in window mode, this returns the current resolution of the desktop.

	print(Screen.currentResolution);