예제 #1
0
 public static void Initialise()
 {
     LocalizedContentManager.OnLanguageChange += Translations.LocalizedContentManager_OnLanguageChange;
     Translations.SetForLanguage(code: LocalizedContentManager.CurrentLanguageCode);
     Translations.LoadTranslationPacks();
 }
예제 #2
0
 private static void LocalizedContentManager_OnLanguageChange(LocalizedContentManager.LanguageCode code)
 {
     Translations.SetForLanguage(code: code);
 }