docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Save

    Save(GameFoundationSerializableData, Action, Action<Exception>)

    Asynchronously saves GameFoundation's data onto the persistence layer.

    Declaration
    public override void Save(GameFoundationSerializableData content, Action onSaveCompleted = null, Action<Exception> onSaveFailed = null)
    Parameters
    Type Name Description
    GameFoundationSerializableData content

    GameFoundation's data to persist.

    Action onSaveCompleted

    Called when data have been successfully saved.

    Action<Exception> onSaveFailed

    Called with a detailed exception when the save failed.

    Overrides
    BaseDataPersistence.Save(GameFoundationSerializableData, Action, Action<Exception>)
    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)