docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SaveData

    Inheritance
    object
    SaveData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.CloudSave
    Assembly: Unity.Services.CloudSave.dll
    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 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 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 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 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 Task<List<string>> RetrieveAllKeysAsync()
    Returns
    Type Description
    Task<List<string>>
    In This Article
    Back to top
    Copyright © 2025 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)