Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: c1393952 on December 04, 2013, 08:35:53 AM

Title: I want to fix aspect ratio by AspectUtility
Post by: c1393952 on December 04, 2013, 08:35:53 AM
Hi,
Our project want to fix aspect ratio by http://wiki.unity3d.com/index.php?title=AspectRatioEnforcer#AspectUtility.cs
However, it will let Screen.height and Screen.width become untruth.

Does it affects NGUI functions such as UIRoot?
Thanks.
Title: Re: I want to fix aspect ratio by AspectUtility
Post by: Nicki on December 04, 2013, 10:50:15 AM
UIRoot will still use Screen.height - I don't think the tool sets them (they're read-only) it only makes its own version.