Hoe to take these parameters?

How I can take these parameter from script? (c#) :shock:
Watch image.

Thanks!!!

1418737--74531--$Schermata 2013-11-14 alle 16.21.25.jpg

Check Unity - Scripting API: Screen, it has several useful methods for dealing with screen information and resolution.

you can access those parameter with these Screen.height and Screen.width
with your sample image.
Screen.height should be 960 and Screen.width should be 640.

with Screen.width and Screen.height, the result is the unity window screen. is it not 640x960… but 430x528…

You have to ensure that your editor’s Game window is at least the width/height of your desired test resolution. You can drag your Game tab away from the bar it’s on (in your case a bar consisting of Scene/Game/Animator) to detach it from the editor for easier resizing.

Basically, if your editor’s Game window is smaller than your test resolution, Screen.width and Screen.height return the Game window’s size. If the Game window is larger than or equal to your test resolution, Screen.width and Screen.height will return the test resolution. Screen.width and Screen.height should always work properly when used on the actual target device.