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

Pages: [1]
NGUI 3 Support / UI2DSprite Pivot
« on: November 09, 2014, 11:36:16 PM »
I was a bit disappointed today to find that UI2DSprite doesn't seem to use the pivot that you can set in Unity's sprite editor.

I have a large number of character sprites which I need to display with the center of their face in the middle of the screen. Some of them are doing cute things like standing on their heads so the pivot point would be different in almost every image even though they are all the same size. Setting the pivot in the sprite import settings makes this really simple. Since UI2DSprite doesn't use the pivot information I added a normal unity sprite renderer into my UI hierarchy which seemed to work well enough, but now the panel alpha doesn't get applied to the sprite renderer. I can write a script to update the sprite alpha with the panel alpha every frame but I'm wondering is there no better solution for this?

NGUI 3 Support / Japanese Input Broken on Desktop?
« on: February 04, 2014, 01:30:06 PM »
I'm having problems with Japanese input support on Mac. I modified the UILabel in the example scene showing an input box. I changed it to a dynamic font with Japanese support. However, the text box fails to accept my Japanese input properly.

I made a video demonstrating the problem:

Basically when I press enter to 'commit' my Chinese character selection it deletes the Japanese part and keeps the romanji(english characters).

Anyone else seen this problem?

Pages: [1]