docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor MemoryDataLayer

    MemoryDataLayer()

    Create a data layer with empty data.

    Declaration
    public MemoryDataLayer()

    MemoryDataLayer(GameFoundationSerializableData)

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

    Declaration
    public MemoryDataLayer(GameFoundationSerializableData data)
    Parameters
    Type Name Description
    GameFoundationSerializableData data

    GameFoundation's serializable data.

    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)