Method ProvideResource
ProvideResource<TObject>(IResourceLocation)
Load the TObject at the specified location.
Declaration
public AsyncOperationHandle<TObject> ProvideResource<TObject>(IResourceLocation location)
Parameters
| Type | Name | Description |
|---|---|---|
| IResourceLocation | location | Location to load. |
Returns
| Type | Description |
|---|---|
| AsyncOperationHandle<TObject> | An async operation. |
Type Parameters
| Name | Description |
|---|---|
| TObject | Object type to load. |