Welcome,
Guest
. Please
login
or
register
.
April 25, 2026, 08:47:10 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
I want to fix aspect ratio by AspectUtility
« previous
next »
Print
Pages: [
1
]
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.
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
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.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
I want to fix aspect ratio by AspectUtility