docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GameFoundation

    Manage the initialization and the persistence of the Game Foundation systems.

    Inheritance
    object
    GameFoundation
    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    public static class GameFoundation

    Properties

    Name Description
    IsInitialized

    Check if the Game Foundation is initialized.

    currentVersion

    Methods

    Name Description
    Initialize(IDataPersistence, Action, Action)

    Initialize the GameFoundation . It need a persistence object to be passed as argument to set the default persistence layer If the initialization fails, onInitializeFailed will be called with an exception.

    Load(IDataPersistence, Action, Action<Exception>)

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

    Save(IDataPersistence, Action, Action<Exception>)

    Asynchronously saves data through 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)