docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LocalizedStringGroup

    Aggregates multiple LocalizedString entries into a single List<T> of strings.

    Inheritance
    object
    LocalizedStringGroup
    Implements
    ILocalizedStringList
    Namespace: UnityEngine.Localization
    Assembly: Unity.Localization.dll
    Syntax
    [Serializable]
    public class LocalizedStringGroup : ILocalizedStringList
    Remarks

    Use this for binding to choice-style UI, such as dropdowns in either UI Toolkit or uGUI. Each child LocalizedString independently tracks locale changes. The combined list updates whenever any entry changes.

    Properties

    Name Description
    Strings

    The list of localized strings whose resolved values form the bound list.

    Methods

    Name Description
    GetLocalizedList(List<string>)

    Forces a synchronous load of all child strings and returns the combined list.

    GetLocalizedListAsync(List<string>)

    Asynchronously loads all child strings and aggregates them into the resulting list.

    Events

    Name Description
    ListChanged

    Invoked when any of the child localized strings have changed. Subscribing to this event automatically begins loading the localized values.

    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)