Interface IResourceProvider
Resoure Providers handle loading (Provide) and unloading (Release) of objects
네임스페이스: UnityEngine.ResourceManagement.ResourceProviders
어셈블리: solution.dll
구문
public interface IResourceProvider
프로퍼티
이름 | 설명 |
---|---|
BehaviourFlags | Custom flags for the provider. |
ProviderId | Unique identifier for this provider, used by Resource Locations to find a suitable Provider |
메서드
이름 | 설명 |
---|---|
CanProvide(Type, IResourceLocation) | Determine if this provider can provide the specified object type from the specified location. |
GetDefaultType(IResourceLocation) | The default type of object that this provider can provide. |
Provide(ProvideHandle) | Tells the provide that it needs to provide a resource and report the results through the passed provideHandle. When this is called, all dependencies have completed and are available through the provideHandle. |
Release(IResourceLocation, object) | Release and/or unload the given resource location and asset |