docs.unity3d.com
Search Results for

    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
    Implements
    IResourceProvider
    IInitializableObject
    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)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Assembly: Unity.ResourceManager.dll
    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).

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)