Skip to content
This repository was 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

publicclassUDBase.Controllers.LocalizationSystem.UI.LocaleText
:MonoBehaviour

Methods

TypeNameSummary
voidInit(ILocalization locale, IEvent events)Init with dependencies
voidUpdateArguments(String[] arguments)Change only localization arguments
voidUpdateKey(String key)Change only localization key
voidUpdateValues(String key, String[] arguments)Change both localization key and arguments

SetLanguageButton

ActionButton to change current language of ILocalization component

publicclassUDBase.Controllers.LocalizationSystem.UI.SetLanguageButton
:ActionButton

Fields

TypeNameSummary
SystemLanguageLanguageLanguage to set in ILocalization when clicked

Methods

TypeNameSummary
voidInit(ILocalization localization, IEvent events)Init with dependencies
BooleanIsInteractable()
BooleanIsVisible()
voidOnClick()

Clone this wiki locally