docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VirtualAssetBundleProvider

    Simulates the loading behavior of an asset bundle. Internally it uses the AssetDatabase API. This provider will only work in the editor.

    Inheritance
    object
    ResourceProviderBase
    VirtualAssetBundleProvider
    Implements
    IResourceProvider
    IInitializableObject
    IUpdateReceiver
    Inherited Members
    ResourceProviderBase.m_ProviderId
    ResourceProviderBase.m_BehaviourFlags
    ResourceProviderBase.ProviderId
    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.Simulation
    Assembly: Unity.ResourceManager.dll
    Syntax
    public class VirtualAssetBundleProvider : ResourceProviderBase, IResourceProvider, IInitializableObject, IUpdateReceiver

    Constructors

    Name Description
    VirtualAssetBundleProvider(VirtualAssetBundleRuntimeData)

    Construct a new VirtualAssetBundleProvider object;

    Contains information on virtual bundle layout

    Methods

    Name Description
    GetDefaultType(IResourceLocation)

    Get the default type of object that this provider can provide.

    Initialize(string, string)

    Initilization data is passed when when constructed from serialized data

    Provide(ProvideHandle)

    Provide the object specified in the provideHandle.

    Release(IResourceLocation, object)

    Release the specified object that was created from the specified location.

    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)