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 - mishaps

Pages: [1]
NGUI 3 Support / dynamic fonts disappearing in editor NGUI 3.9
« on: June 08, 2015, 03:22:06 AM »
Since Unity 5, everytime I save or alt-tab into unity all the UILabels with dynamic fonts disappear. This is cumbersome and frustrating to work with.

I understand from other forum posts and the changelog that this is suppose to be fixed. However, this bug still seems to be present in NGUI 3.9 with Unity 5.0.2p3.

Perhaps I'm missing some tick box or something?

NGUI 3 Support / change UI2DSprite's sprite at runtime broken?
« on: September 15, 2014, 02:23:13 AM »
I'm trying to change a sprite at runtime but it doesn't work. I set my2DSprite.2DSprite to a unityengine.sprite but it never seems to appear on the screen?

NGUI 3 Support / trouble configuring multiple UICamera's
« on: September 05, 2014, 08:30:38 PM »
I want to to have a second UI with "Allow Multitouch" disabled but all the controls are hidden and it says "All other settings are inherited from the First Camera". Anyone else had any luck doing this?

NGUI 3 Support / NGUI vector-graphics and benzier-curves
« on: June 24, 2014, 03:41:00 AM »
Best is itween splines and parenting widgets to it.

Had more luck yourself?

NGUI 3 Support / ease-in / ease-out missing from tweens?
« on: June 21, 2014, 12:36:13 AM »
TweenPosition.Begin (...) animates flat without ease-in/ease-out. Why is it so useless? Do ppl just use iTween or something? It seems to have HEAPS of easing options.

art direction is text with black outline and black shadow. Seems UILabel can only do one or the other.

NGUI 3 Support / "OnMouse_ event handlers" warnings in console
« on: January 08, 2014, 01:04:31 AM »
Been getting this warning in the console recently:

Game scripts or other custom code contains OnMouse_ event handlers. Presence of such handlers might impact performance on handheld devices.

Is this something I should be worrying about or does NGUI disable it automatically on mobile? Perhaps I hit the wrong tickbox somewhere?  :o

text in all my uilabels with dynamic fonts seems to have offset upward after update. It doesn't seem centred in the bounding-box and has this gap at the bottom (see attachments). I will need to go thru my entire UI and move all my labels down a few pixels :(

Is there a padding setting causing this I missed somewhere or something?

NGUI 3 Support / NGUI 3.0 different label sizes all using same font
« on: September 21, 2013, 11:21:39 PM »
in 2.7 I had a font I re-scaled as needed for different sized labels. In 3.0 I understand I'm suppose to leave scale alone and use dimensions instead, sounds cool 8)
However, now the only way I can change the font size is with overflow to Shrink Content or by using scale. With Shrink Content it is hard for me to maintain consistent font sizes with different width labels throughout my GUI.

Is it okay to just use scale in this context or I am using UILabel wrong?

NGUI 3 Support / UICamera.cs annoying behaviour/bug?
« on: March 17, 2013, 12:45:10 AM »
I get this annoying problem sometimes where the unity editor GUI skin (text size / checkbox style etc) seems to change when I press play and persists after stop. Its annoying because the numbers are hard to read in the inspector and don't fit in correctly etc. The only way to get rid of it is to select something else in the scene and the play/stop again (or close/open unity). See attached screenshots for with/without  the problem.
To reproduce it make a empty project, import NGUI, create a new 2D UI, select any object in the scene then play, stop, and play again.
I thought it was something in my project causing it but unless something is persisting between projects then it seems to be with UICamera.cs? If I disable the OnGUI call at the bottom of UICamera.cs (lines 1179 - 1185) the problem goes away. Will disabling those lines break anything with NGUI?  :-\

I'm using a retina macbook pro, unity 4.1.0f4 and NGUI 2.3.6.

Anyone else having this problem?

Pages: [1]