docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetInventories

    GetInventories()

    Returns an array of all inventories in the manager.

    Declaration
    public static Inventory[] GetInventories()
    Returns
    Type Description
    Inventory[]

    An array of all inventories in the manager.

    GetInventories(List<Inventory>)

    Fills the given list with all inventories in the manager.

    Declaration
    public static void GetInventories(List<Inventory> inventories)
    Parameters
    Type Name Description
    List<Inventory> inventories

    The list to fill up.

    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)