Support => NGUI 3 Support => Topic started by: ranilian on May 28, 2012, 01:14:08 PM
Title: Localization prioritization
Post by: ranilian on May 28, 2012, 01:14:08 PM
Hey Aren,
I was wondering if the value for "Starting Language" should be higher priority than the playerprefs, since currently it ignores it and goes with what the playerprefs value is. It took me a while to figure out why it choose spanish as my language when I clearly said English should be the Starting Language, but it was because I started testing spanish first so what happened was it stored that value in the playerprefs and the only way to change that value was to either set the language manually or delete the prefs.
Thanks, Rani
Title: Re: Localization prioritization
Post by: ArenMook on May 28, 2012, 01:24:37 PM
The problem is that the Localization may not be present yet when the current language is checked. It's also possible to not have an instance of Localization at all. You can try this: add this Start function: