Class TMProTextLocalizer
Localizes TMPro.TextMeshProUGUI by setting its TMPro.TMP_Text.text property
based on the phrase assigned to it and
CurrentLanguage. This component also uses the
Inheritance
TMProTextLocalizer
Inherited Members
Namespace: NoSuchStudio.Localization.Localizers
Assembly: NoSuchStudio-Localization.dll
Syntax
[RequireComponent(typeof(TextMeshProUGUI))]
[AddComponentMenu("Localization/TextMeshPro Text Localizer (Phrased)")]
public class TMProTextLocalizer : PhrasedWithVariablesComponentLocalizer<TMProTextLocalizer, TextMeshProUGUI>, ILocalizationServiceComponent, IServiceComponent<LocalizationService>, IVariablesServiceComponent
Methods
UpdateVariabledComponent()
Declaration
public override void UpdateVariabledComponent()
Overrides
NoSuchStudio.Localization.PhrasedWithVariablesComponentLocalizer<NoSuchStudio.Localization.Localizers.TMProTextLocalizer, TMPro.TextMeshProUGUI>.UpdateVariabledComponent()
Implements
IServiceComponent<>
IVariablesServiceComponent