docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor MemoryDataLayer

    MemoryDataLayer(GameFoundationDatabase)

    Creates a data layer with no player data.

    Declaration
    public MemoryDataLayer(GameFoundationDatabase database = null)
    Parameters
    Type Name Description
    GameFoundationDatabase database

    Provides catalogs to the CatalogManager.

    MemoryDataLayer(GameFoundationSerializableData, GameFoundationDatabase)

    Create a data layer with the given catalog provider that will handle the given data for the current game session only.

    Declaration
    public MemoryDataLayer(GameFoundationSerializableData data, GameFoundationDatabase database = null)
    Parameters
    Type Name Description
    GameFoundationSerializableData data

    GameFoundation's serializable data.

    GameFoundationDatabase database

    Provides catalogs to the CatalogManager.

    Exceptions
    Type Condition
    ArgumentNullException

    If the given data contains invalid null values.

    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)