Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

UDBase.Controllers.LocalizationSystem.UI

KonH edited this page Feb 23, 2018 · 2 revisions

LocaleText

Component to localize UnityEngine.UI.Text by given keys and parameters

public class UDBase.Controllers.LocalizationSystem.UI.LocaleText
    : MonoBehaviour

Methods

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

SetLanguageButton

ActionButton to change current language of ILocalization component

public class UDBase.Controllers.LocalizationSystem.UI.SetLanguageButton
    : ActionButton

Fields

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()