public static void UploadBundle(string path, string filepath, AssetStoreAPI.UploadBundleCallback callback, AssetStoreClient.ProgressCallback progress) { AssetStoreClient.UploadLargeFile(path, filepath, null, delegate(AssetStoreResponse resp) { string errorMessage = null; JSONValue jSONValue; AssetStoreAPI.Parse(resp, out errorMessage, out jSONValue); callback(filepath, errorMessage); }, progress); }
public static void UploadBundle(string path, string filepath, AssetStoreAPI.UploadBundleCallback callback, AssetStoreClient.ProgressCallback progress) { AssetStoreClient.UploadLargeFile(path, filepath, null, (AssetStoreResponse resp) => { JSONValue jSONValue; string str = null; AssetStoreAPI.Parse(resp, out str, out jSONValue); callback(filepath, str); }, progress); }