docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InventoryManagerSerializableData

    Serializable data structure that contains the state of the InventoryManager.

    Inheritance
    object
    InventoryManagerSerializableData
    Implements
    ISerializableData
    Namespace: UnityEngine.GameFoundation.DataPersistence
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class InventoryManagerSerializableData : ISerializableData

    Constructors

    Name Description
    InventoryManagerSerializableData()

    Default constructor for serialization purpose.

    InventoryManagerSerializableData(InventorySerializableData[])

    Basic constructor that takes in an array of InventoryData of all runtime inventories.

    Properties

    Name Description
    inventories

    Return the data of all runtime inventories

    Methods

    Name Description
    GetInventory(string)

    Return the data of the Inventory using the specified definition id

    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)