Class TMProDropdownLocalizer
Localizes TMPro.TMP_Dropdown by setting its TMPro.TMP_Dropdown.options property based on its own NoSuchStudio.Localization.Localizers.TMProDropdownLocalizer._options. Each TMProDropdownLocalizer.Option has a phrase which get's translated based on CurrentLanguage.
This component does not support variable substitution.
Inheritance
TMProDropdownLocalizer
Inherited Members
Namespace: NoSuchStudio.Localization.Localizers
Assembly: NoSuchStudio-Localization.dll
Syntax
[RequireComponent(typeof(TMP_Dropdown))]
[AddComponentMenu("Localization/Dropdown - TextMeshPro Localizer")]
public class TMProDropdownLocalizer : ComponentLocalizer<TMProDropdownLocalizer, TMP_Dropdown>, ILocalizationServiceComponent, IServiceComponent<LocalizationService>
Properties
options
Declaration
public List<TMProDropdownLocalizer.Option> options { get; set; }
Property Value
| Type | Description |
|---|---|
| List<TMProDropdownLocalizer.Option> |
Methods
UpdateComponent()
Declaration
public override void UpdateComponent()
Overrides
NoSuchStudio.Localization.ComponentLocalizer<NoSuchStudio.Localization.Localizers.TMProDropdownLocalizer, TMPro.TMP_Dropdown>.UpdateComponent()
Implements
IServiceComponent<>