docs.unity3d.com
    显示 / 隐藏目录

    Class GoogleCloudDataStorageModule

    Inheritance
    Object
    ScriptableSettingsBase
    ScriptableSettingsBase<GoogleCloudDataStorageModule>
    ScriptableSettings<GoogleCloudDataStorageModule>
    GoogleCloudDataStorageModule
    Inherited Members
    ScriptableSettings<GoogleCloudDataStorageModule>.instance
    ScriptableSettingsBase<GoogleCloudDataStorageModule>.k_HasCustomPath
    ScriptableSettingsBase<GoogleCloudDataStorageModule>.s_Instance
    ScriptableSettingsBase<GoogleCloudDataStorageModule>.Save(String)
    ScriptableSettingsBase<GoogleCloudDataStorageModule>.GetFilePath()
    ScriptableSettingsBase.k_PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    ScriptableSettingsBase.OnLoaded()
    Namespace: Unity.MARS
    Syntax
    [ScriptableSettingsPath("Assets/MARS/UserSettings")]
    public class GoogleCloudDataStorageModule : ScriptableSettings<GoogleCloudDataStorageModule>, IModuleBehaviorCallbacks, IModule, IProvidesCloudDataStorage, IFunctionalityProvider

    Methods

    AuthenticatedGetRequest(String, String, Action<Boolean, String>)

    Declaration
    public void AuthenticatedGetRequest(string uri, string authToken, Action<bool, string> callback)
    Parameters
    Type Name Description
    String uri
    String authToken
    Action<Boolean, String> callback

    CloudLoadAsync(String, Action<Boolean, Int64, Byte[]>, ProgressCallback)

    Declaration
    public void CloudLoadAsync(string key, Action<bool, long, byte[]> callback, ProgressCallback progress = null)
    Parameters
    Type Name Description
    String key
    Action<Boolean, Int64, Byte[]> callback
    ProgressCallback progress
    Implements
    IProvidesCloudDataStorage.CloudLoadAsync(String, Action<Boolean, Int64, Byte[]>, ProgressCallback)

    CloudLoadAsync(String, Action<Boolean, Int64, String>, ProgressCallback)

    Declaration
    public void CloudLoadAsync(string key, Action<bool, long, string> callback, ProgressCallback progress = null)
    Parameters
    Type Name Description
    String key
    Action<Boolean, Int64, String> callback
    ProgressCallback progress
    Implements
    IProvidesCloudDataStorage.CloudLoadAsync(String, Action<Boolean, Int64, String>, ProgressCallback)

    CloudSaveAsync(String, Byte[], Action<Boolean, Int64, String>, ProgressCallback)

    Declaration
    public void CloudSaveAsync(string key, byte[] bytesObject, Action<bool, long, string> callback, ProgressCallback progress = null)
    Parameters
    Type Name Description
    String key
    Byte[] bytesObject
    Action<Boolean, Int64, String> callback
    ProgressCallback progress
    Implements
    IProvidesCloudDataStorage.CloudSaveAsync(String, Byte[], Action<Boolean, Int64, String>, ProgressCallback)

    CloudSaveAsync(String, String, Action<Boolean, Int64, String>, ProgressCallback)

    Declaration
    public void CloudSaveAsync(string key, string serializedObject, Action<bool, long, string> callback, ProgressCallback progress = null)
    Parameters
    Type Name Description
    String key
    String serializedObject
    Action<Boolean, Int64, String> callback
    ProgressCallback progress
    Implements
    IProvidesCloudDataStorage.CloudSaveAsync(String, String, Action<Boolean, Int64, String>, ProgressCallback)

    ConnectSubscriber(Object)

    Declaration
    public void ConnectSubscriber(object obj)
    Parameters
    Type Name Description
    Object obj
    Implements
    IFunctionalityProvider.ConnectSubscriber(Object)

    GetAPIKey()

    Declaration
    public string GetAPIKey()
    Returns
    Type Description
    String
    Implements
    IProvidesCloudDataStorage.GetAPIKey()

    GetProjectIdentifier()

    Declaration
    public string GetProjectIdentifier()
    Returns
    Type Description
    String
    Implements
    IProvidesCloudDataStorage.GetProjectIdentifier()

    IsConnected()

    Declaration
    public bool IsConnected()
    Returns
    Type Description
    Boolean
    Implements
    IProvidesCloudDataStorage.IsConnected()

    LoadModule()

    Declaration
    public void LoadModule()
    Implements
    IModule.LoadModule()

    LoadProvider()

    Declaration
    public void LoadProvider()
    Implements
    IFunctionalityProvider.LoadProvider()

    OnBehaviorAwake()

    Declaration
    public void OnBehaviorAwake()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorAwake()

    OnBehaviorDestroy()

    Declaration
    public void OnBehaviorDestroy()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDestroy()

    OnBehaviorDisable()

    Declaration
    public void OnBehaviorDisable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDisable()

    OnBehaviorEnable()

    Declaration
    public void OnBehaviorEnable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorEnable()

    OnBehaviorStart()

    Declaration
    public void OnBehaviorStart()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorStart()

    OnBehaviorUpdate()

    Declaration
    public void OnBehaviorUpdate()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorUpdate()

    SetAPIKey(String)

    Declaration
    public void SetAPIKey(string key)
    Parameters
    Type Name Description
    String key
    Implements
    IProvidesCloudDataStorage.SetAPIKey(String)

    SetProjectIdentifier(String)

    Declaration
    public void SetProjectIdentifier(string id)
    Parameters
    Type Name Description
    String id
    Implements
    IProvidesCloudDataStorage.SetProjectIdentifier(String)

    UnloadModule()

    Declaration
    public void UnloadModule()
    Implements
    IModule.UnloadModule()

    UnloadProvider()

    Declaration
    public void UnloadProvider()
    Implements
    IFunctionalityProvider.UnloadProvider()
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)