This repository was archived by the owner on Mar 26, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 3
UDBase.Controllers.LocalizationSystem.UI
KonH edited this page Feb 23, 2018
·
2 revisions
Component to localize UnityEngine.UI.Text by given keys and parameters
publicclassUDBase.Controllers.LocalizationSystem.UI.LocaleText
:MonoBehaviourMethods
| Type | Name | Summary |
|---|---|---|
void | Init(ILocalization locale, IEvent events) | Init with dependencies |
void | UpdateArguments(String[] arguments) | Change only localization arguments |
void | UpdateKey(String key) | Change only localization key |
void | UpdateValues(String key, String[] arguments) | Change both localization key and arguments |
ActionButton to change current language of ILocalization component
publicclassUDBase.Controllers.LocalizationSystem.UI.SetLanguageButton
:ActionButtonFields
| Type | Name | Summary |
|---|---|---|
SystemLanguage | Language | Language to set in ILocalization when clicked |
Methods
| Type | Name | Summary |
|---|---|---|
void | Init(ILocalization localization, IEvent events) | Init with dependencies |
Boolean | IsInteractable() | |
Boolean | IsVisible() | |
void | OnClick() |