Skip to content

Instantly share code, notes, and snippets.

@ys4kw
Last active December 20, 2015 04:09
Show Gist options
  • Save ys4kw/6068500 to your computer and use it in GitHub Desktop.
Save ys4kw/6068500 to your computer and use it in GitHub Desktop.
NGUIのローカライズ
string key = "NGUI_LOCALIZATION_KEY"
Localization l = GetComponent<Localization> ();
l.currentLanguage = SystemLanguage.Japanese.ToString();
Debug.Log(l.Get(key));
  1. Localizationコンポーネントを同ゲームオブジェクトに設置
  2. ローカライズファイルをLanguagesに設定

currentLanguageに言語を設定
Get関数で取得

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment