Welcome,
Guest
. Please
login
or
register
.
January 31, 2023, 12:48:12 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
screen dimensions
« previous
next »
Print
Pages: [
1
]
Author
Topic: screen dimensions (Read 1192 times)
Fractalbase
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 23
screen dimensions
«
on:
June 16, 2014, 05:17:47 PM »
Is there a way to query for x&y screen dimensions, and to set those dimensions programmatically?
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: screen dimensions
«
Reply #1 on:
June 17, 2014, 05:37:22 AM »
http://docs.unity3d.com/ScriptReference/Screen.html
The UIRoot sets up the virtual pixels for NGUI, so you can mess with manualHeight there, to map the virtual pixels differently to real pixels.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
screen dimensions