- Home /
Question by
user-7534 (google) · Apr 10, 2011 at 08:28 AM ·
guiscreen
make screen resleution control inside game ui
as you see i want make a game full screen regradless of unitys first dialog box. oi want a menu that have a leveler for set screen reseleution.any 1 can help plz
Comment
Answer by Mortennobel · Apr 10, 2011 at 08:34 AM
You can do that using the Screen class: http://unity3d.com/support/documentation/ScriptReference/Screen.html
Example (Javascript):
Screen.SetResolution (640, 480, true, 60); // Switch to 640 x 480 fullscreen at 60 hz
Your answer

Follow this Question
Related Questions
How can I get a UI Panel's size in relation to the screen size? 1 Answer
Make my HUD full screen 2 Answers
Unity 3d C# GUI box goes off to the side needs to be in the center of the screen 0 Answers
Making a button's placement independent of resolution 1 Answer
Making a start screen in Unity 3 Answers