docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GameFoundationSerializableData

    Serializable data structure that contains the state of Game Foundation.

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

    Constructors

    Name Description
    GameFoundationSerializableData()

    Default constructor for serialization purpose

    GameFoundationSerializableData(int, StatManagerSerializableData, InventoryManagerSerializableData, GameItemLookupSerializableData)

    Basic constructor that take the stat manager, the inventory manager data and the gameItemLookup data.

    Properties

    Name Description
    gameItemLookupData

    The data of GameItemLookup to be persisted.

    inventoryManagerData

    The data of InventoryManager to be persisted.

    statManagerData

    The data of StatManager to be persisted.

    version

    The version of of the save schematic

    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)