docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetCollection

    GetCollection()

    Gets a collection of the given type from the pool. Creates a new collection object if the pool is empty.

    Declaration
    public static TCollection GetCollection()
    Returns
    Type Description
    TCollection

    An empty collection.

    In This Article
    Back to top
    Copyright © 2024 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)