docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Get

    Get()

    Get an object from the pool.

    Declaration
    public T Get()
    Returns
    Type Description
    T

    A new object from the pool.

    Get(out T)

    Get et new PooledObject.

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

    Output new typed object.

    Returns
    Type Description
    ObjectPool<T>.PooledObject

    New 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)