docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Get

    Get()

    Get a new HashSet

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

    A new HashSet

    Get(out HashSet<T>)

    Get a new list PooledObject.

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

    Output typed HashSet.

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

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