docs.unity3d.com
    Show / Hide Table of Contents

    Class SaveData

    Inheritance
    Object
    SaveData
    Namespace: Unity.Services.CloudSave
    Syntax
    [Obsolete("The interface provided by SaveData has moved to CloudSaveService.Instance.Data, and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
    public static class SaveData

    Methods

    ForceDeleteAsync(String)

    Declaration
    [Obsolete("The interface provided by SaveData.ForceDeleteAsync(string) has been replaced by CloudSaveService.Instance.Data.ForceDeleteAsync(string), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
    public static async Task ForceDeleteAsync(string key)
    Parameters
    Type Name Description
    String key
    Returns
    Type Description
    Task

    ForceSaveAsync(Dictionary<String, Object>)

    Declaration
    [Obsolete("The interface provided by SaveData.ForceSaveAsync(Dictionary<string, object>) has been replaced by CloudSaveService.Instance.Data.ForceSaveAsync(Dictionary<string, object>), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
    public static async Task ForceSaveAsync(Dictionary<string, object> data)
    Parameters
    Type Name Description
    Dictionary<String, Object> data
    Returns
    Type Description
    Task

    LoadAllAsync()

    Declaration
    [Obsolete("The interface provided by SaveData.LoadAllAsync() has been replaced by CloudSaveService.Instance.Data.LoadAllAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
    public static async Task<Dictionary<string, string>> LoadAllAsync()
    Returns
    Type Description
    Task<Dictionary<String, String>>

    LoadAsync(HashSet<String>)

    Declaration
    [Obsolete("The interface provided by SaveData.LoadAsync(HashSet<string>) has been replaced by CloudSaveService.Instance.Data.LoadAsync(HashSet<string>), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
    public static async Task<Dictionary<string, string>> LoadAsync(HashSet<string> keys = null)
    Parameters
    Type Name Description
    HashSet<String> keys
    Returns
    Type Description
    Task<Dictionary<String, String>>

    RetrieveAllKeysAsync()

    Declaration
    [Obsolete("The interface provided by SaveData.RetrieveAllKeysAsync() has been replaced by CloudSaveService.Instance.Data.RetrieveAllKeysAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
    public static async Task<List<string>> RetrieveAllKeysAsync()
    Returns
    Type Description
    Task<List<String>>
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023