Author Topic: I want to fix aspect ratio by AspectUtility  (Read 3518 times)

c1393952

  • Guest
I want to fix aspect ratio by AspectUtility
« 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.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: I want to fix aspect ratio by AspectUtility
« Reply #1 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.