docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveAllInventories

    RemoveAllInventories(bool)

    This will simply clear out all Inventories.

    Declaration
    public static int RemoveAllInventories(bool removeDefaultInventories = true)
    Parameters
    Type Name Description
    bool removeDefaultInventories

    Whether or not default inventories should also be removed.

    Returns
    Type Description
    int

    The total number of inventories that were removed.

    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)