docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetLocalizedList

    GetLocalizedList(List<string>)

    Forces a synchronous load of the localized list.

    Declaration
    List<string> GetLocalizedList(List<string> target = null)
    Parameters
    Type Name Description
    List<string> target

    Optional list to populate to avoid allocations.

    Returns
    Type Description
    List<string>

    The populated list — either target or a new list.

    Remarks

    If you provide a target list, it is cleared and populated with the result. Otherwise, this method allocates a new list.

    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)