docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Get

    Get()

    Get a new Dictionary

    Declaration
    public static Dictionary<TKey, TValue> Get()
    Returns
    Type Description
    Dictionary<TKey, TValue>

    A new Dictionary

    Get(out Dictionary<TKey, TValue>)

    Get a new dictionary PooledObject.

    Declaration
    public static ObjectPool<Dictionary<TKey, TValue>>.PooledObject Get(out Dictionary<TKey, TValue> value)
    Parameters
    Type Name Description
    Dictionary<TKey, TValue> value

    Output typed Dictionary.

    Returns
    Type Description
    ObjectPool<Dictionary<TKey, TValue>>.PooledObject

    A new Dictionary 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)