コード例 #1
0
 public static string GetProjectIdentifier(this IUsesCloudDataStorage user)
 {
     return(user.provider.GetProjectIdentifier());
 }
コード例 #2
0
 public static void CloudSaveAsync(this IUsesCloudDataStorage user, string key, string serializedObject,
                                   Action <bool, long, string> callback = null, ProgressCallback progress = null)
 {
     user.provider.CloudSaveAsync(key, serializedObject, callback, progress);
 }
コード例 #3
0
 public static string GetAPIKey(this IUsesCloudDataStorage user)
 {
     return(user.provider.GetAPIKey());
 }
コード例 #4
0
 public static void SetProjectIdentifier(this IUsesCloudDataStorage user, string id)
 {
     user.provider.SetProjectIdentifier(id);
 }
コード例 #5
0
 public static void SetAPIKey(this IUsesCloudDataStorage user, string token)
 {
     user.provider.SetAPIKey(token);
 }
コード例 #6
0
 public static bool IsConnected(this IUsesCloudDataStorage user)
 {
     return(user.provider.IsConnected());
 }
コード例 #7
0
 public static void LoadLocalTextureAsync(this IUsesCloudDataStorage user, string path, LoadTextureCallback callback,
                                          ProgressCallback progress = null)
 {
     user.provider.LoadLocalTextureAsync(path, callback, progress);
 }
コード例 #8
0
 public static void CloudLoadTextureAsync(this IUsesCloudDataStorage user, string key, LoadTextureCallback callback,
                                          ProgressCallback progress = null)
 {
     user.provider.CloudLoadTextureAsync(key, callback, progress);
 }
コード例 #9
0
 public static void CloudLoadAsync(this IUsesCloudDataStorage user, string key, Action <bool, long, byte[]> callback,
                                   ProgressCallback progress = null)
 {
     user.provider.CloudLoadAsync(key, callback, progress);
 }