Class AssetBundleProvider
IResourceProvider for asset bundles. Loads bundles via UnityWebRequestAssetBundle API if the internalId starts with "http". If not, it will load the bundle via AssetBundle.LoadFromFileAsync.
상속된 멤버
네임스페이스: UnityEngine.ResourceManagement.ResourceProviders
어셈블리: solution.dll
구문
public class AssetBundleProvider : ResourceProviderBase, IResourceProvider, IInitializableObject
메서드
이름 | 설명 |
---|---|
GetDefaultType(IResourceLocation) | Get the default type of object that this provider can provide. |
Provide(ProvideHandle) | Provide the object specified in the provideHandle. |
Release(IResourceLocation, object) | Releases the asset bundle via AssetBundle.Unload(true). |