docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetBundleResource

    Provides methods for loading an AssetBundle from a local or remote location.

    Inheritance
    object
    AssetBundleResource
    Implements
    IAssetBundleResource
    IUpdateReceiver
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Assembly: solution.dll
    Syntax
    public class AssetBundleResource : IAssetBundleResource, IUpdateReceiver

    Methods

    Name Description
    GetAssetBundle()

    Get the asset bundle object managed by this resource. This call may force the bundle to load if not already loaded.

    GetAssetPreloadRequest()

    Creates a request for loading all assets from an AssetBundle.

    GetLoadInfo(ProvideHandle, out LoadType, out string)

    Determines where an AssetBundle can be loaded from.

    Start(ProvideHandle, AssetBundleUnloadOperation, Func<UnityWebRequestResult, bool>)

    Stores AssetBundle loading information, starts loading the bundle.

    Unload(out AssetBundleUnloadOperation)

    Starts an async operation that unloads all resources associated with the AssetBundle.

    Update(float)

    This will be called once per frame by the ResourceManager

    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)