Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closeurl | The target URL with which this UnityWebRequest will communicate. Also accessible via the url property. |
Creates a UnityWebRequest with the default options and no attached DownloadHandler or UploadHandler. Default method is GET
.
The raw constructor is useful for use cases which require detailed custom configuration of a UnityWebRequest. Most use cases will require the attachment of a DownloadHandler, an UploadHandler or both in order to function propertly.
See Also: Get, GetTexture, GetAudioClip, GetAssetBundle, Head, Post, Put, Delete.