Class TMProAlignLocalizer
Localizes TMPro.TextMeshProUGUI by setting its TMPro.TextAlignmentOptions property based on the RTL-ness of CurrentLanguage.
Inheritance
TMProAlignLocalizer
Inherited Members
Namespace: NoSuchStudio.Localization.Localizers
Assembly: NoSuchStudio-Localization.dll
Syntax
[RequireComponent(typeof(TextMeshProUGUI))]
[AddComponentMenu("Localization/TextMeshPro Align Localizer")]
public class TMProAlignLocalizer : ComponentLocalizer<TMProAlignLocalizer, TextMeshProUGUI>, ILocalizationServiceComponent, IServiceComponent<LocalizationService>
Properties
reverse
Declaration
public bool reverse { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
UpdateComponent()
Declaration
public override void UpdateComponent()
Overrides
NoSuchStudio.Localization.ComponentLocalizer<NoSuchStudio.Localization.Localizers.TMProAlignLocalizer, TMPro.TextMeshProUGUI>.UpdateComponent()
Implements
IServiceComponent<>