docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Get

    Get()

    Get a new List

    Declaration
    public static List<T> Get()
    Returns
    Type Description
    List<T>

    A new List

    Get(out List<T>)

    Get a new list PooledObject.

    Declaration
    public static ObjectPool<List<T>>.PooledObject Get(out List<T> value)
    Parameters
    Type Name Description
    List<T> value

    Output typed List.

    Returns
    Type Description
    ObjectPool<List<T>>.PooledObject

    A new List PooledObject.

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