Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Decco on June 16, 2014, 11:48:50 AM

Title: [Solved] Why ? (some weird things that appends sometime)
Post by: Decco on June 16, 2014, 11:48:50 AM
The first one is relative to the Anchor system. Sometime if you set the Anchor to 0, it does not show at 0 offset.

(http://s23.postimg.org/jrje2n3pn/Capture.png)

Second, is related with all texture, there is a 1 pixel offset between the texture and the NGUI frame.

(http://s22.postimg.org/5o50xwhgx/Capture2.png)

Is that some bugs or working as intended ?

Thanks
Decco
Title: Re: Why ? (some weird things that appends sometime)
Post by: ArenMook on June 17, 2014, 01:55:05 PM
Generally all kinds of issues popup if your Game view is hidden behind your Scene view because it's not possible to determine the game view's size when it's hidden. Don't do it.

There is always a half-pixel offset on Windows machines because Unity runs using DirectX 9. Google "dx9 half pixel offset" to find out more.
Title: Re: Why ? (some weird things that appends sometime)
Post by: Decco on August 07, 2014, 12:25:33 PM
Just to tell you, update 3.6.6 has fixed the first case ! Thank you ;-)
Title: Re: Why ? (some weird things that appends sometime)
Post by: niall on August 08, 2014, 11:27:33 AM
As someone who had that same problem before, with game view hidden behind scene view...  Is there some way you can determine that is happening, and throw a warning into the console or something? 
Title: Re: [Solved] Why ? (some weird things that appends sometime)
Post by: ArenMook on August 08, 2014, 04:34:33 PM
It's not an issue anymore. As Decco mentioned, it was fixed in an earlier version.