Class LocalizationModuleBase
Events
onLanguageChanged
public Action<LanguageInfo> onLanguageChanged
Properties
currentLanguage
public string currentLanguage { get; private set; }
languages
public IEnumerable<string> languages { get; }
fontAddressPrefix
public string fontAddressPrefix { get; }
languagePackageAddress
public string languagePackageAddress { get; }
Methods
bool TryGetText(string key, string text)
public bool TryGetText(string key, string text)
bool TryGetFontAsset(string fontTagGUID, TMP_FontAsset fontAsset)
public bool TryGetFontAsset(string fontTagGUID, TMP_FontAsset fontAsset)
Task SetLanguage(string newLanguage)
public Task SetLanguage(string newLanguage)