Search Results for

    Show / Hide Table of Contents

    Class TextLocalizer

    Localizes UnityEngine.UI.Text by setting its UnityEngine.UI.Text.text property based on the phrase assigned to it and CurrentLanguage. This component also uses the and substitutes any variable names that occur in the text.

    Inheritance
    Object
    ComponentLocalizer<TextLocalizer, UnityEngine.UI.Text>
    PhrasedComponentLocalizer<TextLocalizer, UnityEngine.UI.Text>
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, UnityEngine.UI.Text>
    TextLocalizer
    Implements
    ILocalizationServiceComponent
    IServiceComponent<LocalizationService>
    IVariablesServiceComponent
    Inherited Members
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>._variables
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>._text
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>.Init()
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>.UpdateVariabledComponent()
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>.UpdatePhrasedComponent()
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>.Reconnect<ST>()
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>.OnEnable()
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>.OnDisable()
    PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>.OnValidate()
    PhrasedComponentLocalizer<TextLocalizer, Text>._phrase
    PhrasedComponentLocalizer<TextLocalizer, Text>.phrase
    PhrasedComponentLocalizer<TextLocalizer, Text>._translation
    PhrasedComponentLocalizer<TextLocalizer, Text>.UpdateComponent()
    PhrasedComponentLocalizer<TextLocalizer, Text>.OnTranslationChange(String, Locale, String)
    PhrasedComponentLocalizer<TextLocalizer, Text>.RegisterToLocalization()
    PhrasedComponentLocalizer<TextLocalizer, Text>.UnregisterFromLocalization()
    ComponentLocalizer<TextLocalizer, Text>._component
    ComponentLocalizer<TextLocalizer, Text>._readyToConnect
    ComponentLocalizer<TextLocalizer, Text>.Awake()
    ComponentLocalizer<TextLocalizer, Text>.mono
    ComponentLocalizer<TextLocalizer, Text>._connected
    ComponentLocalizer<TextLocalizer, Text>.IsConnected<ST>()
    ComponentLocalizer<TextLocalizer, Text>.OnLocaleChange(Locale)
    Namespace: NoSuchStudio.Localization.Localizers
    Assembly: NoSuchStudio-Localization.dll
    Syntax
    [RequireComponent(typeof(Text))]
    [AddComponentMenu("Localization/Text Localizer (Phrased)")]
    [HelpURL("http://nosuchstudio.com/nosuchlocalization/api/NoSuchStudio.Localization.Localizers.TextLocalizer.html")]
    public class TextLocalizer : PhrasedWithVariablesComponentLocalizer<TextLocalizer, Text>, ILocalizationServiceComponent, IServiceComponent<LocalizationService>, IVariablesServiceComponent

    Methods

    UpdateVariabledComponent()

    Declaration
    public override void UpdateVariabledComponent()
    Overrides
    NoSuchStudio.Localization.PhrasedWithVariablesComponentLocalizer<NoSuchStudio.Localization.Localizers.TextLocalizer, UnityEngine.UI.Text>.UpdateVariabledComponent()

    Implements

    ILocalizationServiceComponent
    IServiceComponent<>
    IVariablesServiceComponent
    In This Article
    Back to top Generated by DocFX