docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Load

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

    Asynchronously loads GameFoundation's data from the persistence layer.

    Declaration
    public abstract void Load(Action<GameFoundationSerializableData> onLoadCompleted = null, Action<Exception> onLoadFailed = null)
    Parameters
    Type Name Description
    Action<GameFoundationSerializableData> onLoadCompleted

    Called with the loaded data when they have been successfully loaded.

    Action<Exception> onLoadFailed

    Called with a detailed exception when the loading failed.

    Implements
    IDataPersistence.Load(Action<GameFoundationSerializableData>, 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)