docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    ResourceProviderBase
    AssetBundleProvider
    Inherited Members
    ResourceProviderBase.m_ProviderId
    ResourceProviderBase.m_BehaviourFlags
    ResourceProviderBase.ProviderId
    ResourceProviderBase.Initialize(String, String)
    ResourceProviderBase.CanProvide(Type, IResourceLocation)
    ResourceProviderBase.ToString()
    ResourceProviderBase.InitializeAsync(ResourceManager, String, String)
    ResourceProviderBase.IResourceProvider.BehaviourFlags
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Syntax
    public class AssetBundleProvider : ResourceProviderBase, IResourceProvider, IInitializableObject

    Methods

    Name Description
    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).

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023