# PreloadAsync(string[])

> Creates an On Demand Resources (ODR) request.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.iOS](/engine/6000.5/script-reference/unityengine/ios.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static OnDemandResourcesRequest PreloadAsync(string[] tags)
```

### Parameters

**** (\[string\[]]\(https\://learn.microsoft.com/dotnet/api/system.string)): Tags for On Demand Resources that should be included in the request.

### Returns

| Type                                                                                                    | Description                      |
| ------------------------------------------------------------------------------------------------------- | -------------------------------- |
| [OnDemandResourcesRequest](/engine/6000.5/script-reference/unityengine/ios/ondemandresourcesrequest.md) | Object representing ODR request. |

### Remarks

The request will include all resources indicated by the given tags. If operation completes successfuly, then the request object will keep those resources alive until [OnDemandResourcesRequest.Dispose](/engine/6000.5/script-reference/unityengine/ios/ondemandresourcesrequest/dispose.md) is called or the request gets collected by a garbage collector.

Additional Resources: [OnDemandResourcesRequest](/engine/6000.5/script-reference/unityengine/ios/ondemandresourcesrequest.md).
