Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - sgolby

Pages: [1]
NGUI 3 Support / iAds Interstitial rotated Portrait instead of Landscape
« on: December 03, 2014, 11:37:17 AM »
Has anyone seen an issue like the image below ?

We just turned on Interstitial iAds and as you can see it's sticking 1/3rd the way off the top of the screen. 
If I rotate my iPad to Portrait the ad updates itself and fills 100% of the screen, making me think Apple thought the iPad was in Portrait mode.
*but* our game is Landscape only. 
This issue happens even if I change it to build Landscape Left only, no-Auto Rotate (usually it's Right+Left).

We don't do anything ourselves in the code to adjust the ScreenOrientation (there are some Unity iOS8 bugs for fixing in v4.6.1 for issues related to that).  Can anyone think of a NGUI setting that's tripping us up here ?  I'm wondering if we've made a mistake with FixedSizeOnMobiles or something ?  or is this a known Unity v4.5 + XCode6 issue related to that bug mentioned above ?


NGUI 3 Support / Transparent Texture with UITexture ?
« on: March 07, 2014, 04:23:00 PM »
I can't seem to get UITexture to show a transparent .png texture right.

I have a large texture which gets very limited use so I don't want to add it to the atlas as we're close to 1024px.  It has some rounded edges which are transparent, but they are showing as solid white when using an UITexture & the Unlit/Texture shader. The Preview shows it with rounded/grey edges so that appears to have picked up the transparency and I've tried quite a few import setting combos GUI/Texture/Alpha is Transparency but so far having cracked how to make it look right on screen.

Any ideas if it's possible to have a transparent section in a UITexture ?


Pages: [1]