docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Load

    Load(IDataPersistence, Action, Action)

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

    Declaration
    public static void Load(IDataPersistence dataPersistence, Action onLoadCompleted = null, Action 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 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)