Class ResourceProviderBase
Base class for IResourceProvider.
Inherited Members
Namespace: UnityEngine.ResourceManagement.ResourceProviders
Assembly: Unity.ResourceManager.dll
Syntax
public abstract class ResourceProviderBase : IResourceProvider, IInitializableObject
Fields
| Name | Description |
|---|---|
| m_BehaviourFlags | The extra behavior of the provider. |
| m_ProviderId | The unique identifier of the provider. |
Properties
| Name | Description |
|---|---|
| ProviderId | Unique identifier for this provider, used by Resource Locations to find a suitable Provider |
Methods
| Name | Description |
|---|---|
| CanProvide(Type, IResourceLocation) | Determine if this provider can provide the specified object type from the specified location. |
| GetDefaultType(IResourceLocation) | Get the default type of object that this provider can provide. |
| Initialize(string, string) | Initialize a constructed object. |
| InitializeAsync(ResourceManager, string, string) | Async operation for initializing a constructed object. |
| Provide(ProvideHandle) | Provide the object specified in the provideHandle. |
| Release(IResourceLocation, object) | Release the specified object that was created from the specified location. |
| ToString() | Converts information about the resource provider to a formatted string. |