Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: laurentl on July 01, 2014, 03:12:55 AM

Title: Localization.instance.Get and currentLanguage in 3.6.6?
Post by: laurentl on July 01, 2014, 03:12:55 AM
What are they replaced with?

(Attempting to upgrade from 2.7.0 to 3.6.6.)
Title: Re: Localization.instance.Get and currentLanguage in 3.6.6?
Post by: ArenMook on July 01, 2014, 04:50:45 AM
Localization.Get, Localization.currentLanguage.

Just get rid of the 'instance' part.
Title: Re: Localization.instance.Get and currentLanguage in 3.6.6?
Post by: laurentl on July 01, 2014, 05:11:29 AM
Gotchat, I'm almost there, no more script errors and now time to fix the entire NGUI, and it's completely broken, the proportions didn't autofix apparently. Any suggestion?

Also, now that Localize is an abstract class, how do I tell it what file correspond to what language?
Title: Re: Localization.instance.Get and currentLanguage in 3.6.6?
Post by: ArenMook on July 02, 2014, 03:19:48 AM
NGUI can only auto-fix active game objects that are present in the scene, so you will need to drag in every prefab you have and make sure it's enabled, let NGUI do its thing (and use the upgrade tools to replace old sprites with new ones), then Apply the changes.