docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BaseDataPersistence

    Base persistence class derived from IDataPersistence

    Inheritance
    object
    BaseDataPersistence
    LocalPersistence
    Implements
    IDataPersistence
    Namespace: UnityEngine.GameFoundation.DataPersistence
    Assembly: solution.dll
    Syntax
    public abstract class BaseDataPersistence : IDataPersistence

    Constructors

    Name Description
    BaseDataPersistence(IDataSerializer)

    Basic constructor that takes in a data serializer which this will use.

    Properties

    Name Description
    serializer

    The serialization layer used by the processes of this persistence.

    Methods

    Name Description
    Load(Action<GameFoundationSerializableData>, Action<Exception>)

    Asynchronously loads GameFoundation's data from the persistence layer.

    Save(GameFoundationSerializableData, Action, Action<Exception>)

    Asynchronously saves GameFoundation's data onto the persistence layer.

    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)