Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Fractalbase on June 16, 2014, 05:17:47 PM

Title: screen dimensions
Post by: Fractalbase 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?
Title: Re: screen dimensions
Post by: Nicki 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.