v2.4.0
2020.3+

Class CloudCode

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

Methods

CallEndpointAsync(String, Object)

Declaration
[Obsolete("The interface provided by CloudCode.CallEndpointAsync(string, object) has been replaced by CloudCodeService.Instance.CallEndpointAsync(string, Dictionary<string, object>), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static async Task<string> CallEndpointAsync(string function, object args)
Parameters
TypeNameDescription
Stringfunction
Objectargs
Returns
TypeDescription
Task<String>

CallEndpointAsync<TResult>(String, Object)

Declaration
[Obsolete("The interface provided by CloudCode.CallEndpointAsync<TResult>(string, object) has been replaced by CloudCodeService.Instance.CallEndpointAsync<TResult>(string, Dictionary<string, object>), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public static async Task<TResult> CallEndpointAsync<TResult>(string function, object args)
Parameters
TypeNameDescription
Stringfunction
Objectargs
Returns
TypeDescription
Task<TResult>
Type Parameters
NameDescription
TResult