docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LocalizedStringList

    A LocalizedString whose resolved value is a delimited list that is split into a List<T> of strings.

    Inheritance
    object
    LocalizedReference
    LocalizedString
    LocalizedStringList
    Implements
    ISerializationCallbackReceiver
    IVariableGroup
    IVariableValueChanged
    IVariable
    ILocalizedStringList
    Inherited Members
    LocalizedString.ValueChanged
    LocalizedString.Arguments
    LocalizedString.CurrentLoadingOperationHandle
    LocalizedString.StringChanged
    LocalizedString.HasChangeHandler
    LocalizedString.RefreshString()
    LocalizedString.GetLocalizedStringAsync()
    LocalizedString.GetLocalizedString()
    LocalizedString.GetLocalizedStringAsync(params object[])
    LocalizedString.GetLocalizedString(params object[])
    LocalizedString.GetLocalizedString(IList<object>)
    LocalizedString.GetLocalizedStringAsync(IList<object>)
    LocalizedString.Count
    LocalizedString.Keys
    LocalizedString.Values
    LocalizedString.IsReadOnly
    LocalizedString.this[string]
    LocalizedString.TryGetValue(string, out IVariable)
    LocalizedString.Add(string, IVariable)
    LocalizedString.Add(KeyValuePair<string, IVariable>)
    LocalizedString.Remove(string)
    LocalizedString.Remove(KeyValuePair<string, IVariable>)
    LocalizedString.ContainsKey(string)
    LocalizedString.Contains(KeyValuePair<string, IVariable>)
    LocalizedString.CopyTo(KeyValuePair<string, IVariable>[], int)
    LocalizedString.GetEnumerator()
    LocalizedString.Clear()
    LocalizedString.GetSourceValue(ISelectorInfo)
    LocalizedString.ForceUpdate()
    LocalizedString.Reset()
    LocalizedString.CurrentLoadingOperation
    LocalizedString.RegisterChangeHandler(LocalizedString.ChangeHandler)
    LocalizedString.ClearChangeHandler()
    LocalizedReference.m_CurrentTable
    LocalizedReference.m_CurrentTableEntry
    LocalizedReference.TableReference
    LocalizedReference.TableEntryReference
    LocalizedReference.FallbackState
    LocalizedReference.LocaleOverride
    LocalizedReference.WaitForCompletion
    LocalizedReference.IsEmpty
    LocalizedReference.SetReference(TableReference, TableEntryReference)
    Namespace: UnityEngine.Localization
    Assembly: Unity.Localization.dll
    Syntax
    [Serializable]
    public class LocalizedStringList : LocalizedString, ISerializationCallbackReceiver, IVariableGroup, IVariableValueChanged, IVariable, ILocalizedStringList
    Remarks

    Use this for binding to choice-style UI, such as dropdowns in either UI Toolkit or uGUI. The table entry value must be a delimited string. For example, "Option A,Option B,Option C". Whitespace around the separator is not trimmed.

    Constructors

    Name Description
    LocalizedStringList()

    Creates a new empty LocalizedStringList.

    LocalizedStringList(TableReference, TableEntryReference)

    Creates a new LocalizedStringList referencing the given table and entry.

    Properties

    Name Description
    Separator

    The string used to split the localized value into individual list items.

    Methods

    Name Description
    GetLocalizedList(List<string>)

    Forces a synchronous load and returns the split list.

    GetLocalizedListAsync(List<string>)

    Asynchronously loads the localized value and splits it into the resulting list.

    Events

    Name Description
    ListChanged

    Invoked when the localized list has changed, such as when the selected locale changes. Subscribing to this event will automatically begin loading the localized value.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)