Method CreateRequest
CreateRequest(Uri, bool)
Generates the UnityWebRequest used for sending the request.
Declaration
protected static UnityWebRequest CreateRequest(Uri url, bool nonReadable)
Parameters
Type | Name | Description |
---|---|---|
Uri | url | Texture URI to request |
bool | nonReadable | If true, resulting texture is not CPU readable (uses less memory) |
Returns
Type | Description |
---|---|
UnityWebRequest | UnityWebRequest used for sending the request |