Class LocalizeStringListEvent
Use this component for populating localized dropdown choices.
Inheritance
LocalizeStringListEvent
Inherited Members
Namespace: UnityEngine.Localization.Components
Assembly: Unity.Localization.dll
Syntax
[AddComponentMenu("Localization/Localize String List Event")]
public class LocalizeStringListEvent : LocalizedMonoBehaviour
Remarks
This component triggers events for a localized list of strings.
The ListReference can be either a LocalizedStringList (a single delimited entry split into items)
or a LocalizedStringGroup (multiple individual LocalizedString entries aggregated into a list).
Hook OnUpdateList up to Dropdown.AddOptions or TMP_Dropdown.AddOptions in the inspector.
Properties
| Name | Description |
|---|---|
| ListReference | The localized list source. |
| OnUpdateList | Event invoked when the localized list is available or changes. |