Class LegacyResourcesProvider
Provides assets loaded via Resources.LoadAsync API.
Inherited Members
Namespace: UnityEngine.ResourceManagement.ResourceProviders
Syntax
public class LegacyResourcesProvider : ResourceProviderBase, IResourceProvider, IInitializableObject
Methods
Provide(ProvideHandle)
Provide the object specified in the provideHandle.
Declaration
public override void Provide(ProvideHandle pi)
Parameters
Type | Name | Description |
---|---|---|
ProvideHandle | pi |
Overrides
Release(IResourceLocation, Object)
Release the specified object that was created from the specified location.
Declaration
public override void Release(IResourceLocation location, object asset)
Parameters
Type | Name | Description |
---|---|---|
IResourceLocation | location | The location of the object |
Object | asset |