// Token: 0x0600642E RID: 25646 RVA: 0x0023D190 File Offset: 0x0023B590 public static PostObjectRequest UploadFile(string fileName, string s3FolderName = "other", Action<string> onSuccess = null) { if (Uploader.uploadManager == null) { Uploader.uploadManager = new GameObject(); Uploader.uploadManager.name = "UploadManager"; } S3Manager orAddComponent = Uploader.uploadManager.GetOrAddComponent<S3Manager>(); return orAddComponent.PostObject(fileName, s3FolderName, onSuccess); }
public static Amazon.S3.Model.PostObjectRequest UploadFile(string fileName, string s3FolderName = "other", Action <string> onSuccess = null) { if (uploadManager == null) { uploadManager = new GameObject(); uploadManager.name = "UploadManager"; } S3Manager s3Manager = uploadManager.GetOrAddComponent <S3Manager>(); return(s3Manager.PostObject(fileName, s3FolderName, onSuccess)); }