Method CanProvide
CanProvide(Type, IResourceLocation)
Determine if this provider can provide the specified object type from the specified location.
Declaration
public override bool CanProvide(Type t, IResourceLocation location)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | t | |
| IResourceLocation | location | The resource location of the object. |
Returns
| Type | Description |
|---|---|
| bool | True if this provider can create the specified object. |
Overrides
Remarks
Only accepts generic IList<T> requests. Single-asset requests
(typeof(Sprite), typeof(Texture2D), etc.) return false
so that dynamically synthesised single-item locations are skipped.