docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Load

    Load(IDataPersistence, Action, Action<Exception>)

    Asynchronously loads data from the persistence layer and populates managed systems with it

    Declaration
    public static void Load(IDataPersistence dataPersistence, Action onLoadCompleted = null, Action<Exception> onLoadFailed = null)
    Parameters
    Type Name Description
    IDataPersistence dataPersistence

    The persistence layer used to execute the process

    Action onLoadCompleted

    Called when the loading process is completed with success

    Action<Exception> onLoadFailed

    Called when the loading process failed

    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)