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.


Messages - emile_d

Pages: [1]
1
NGUI 3 Documentation / Re: Localization system
« on: January 27, 2015, 07:47:58 AM »
Yes, reference fonts. Look into that feature. You'll create an empty font prefab set to be a Reference, pointing to an actual font with data in it. All your labels will be using this Reference Font prefab. When loading your game, Resources.Load the appropriate font with data in it and set the reference font's value to point to it, thus automatically making your labels use the newly loaded font.

Yes! It works. It recalls me that UIAtlas also has the reference function. Thank you for the support and this handy GUI kit.

2
NGUI 3 Documentation / Re: Localization system
« on: January 26, 2015, 08:42:57 AM »
We're working for a multi-language game now. Is there any method to 'localize' font for UILabel? I mean using different font for every language? (Because a font may not contain all characters for all languages. And we're using dynamic font renderering in Unity.)

What I thought to implement this is to attach a script on all game objects which have UILabel components. The script can change the font of the UILabel according to the current language users selected. Do you have any other better idea?

Thank you!

Pages: [1]