docs.unity3d.com
    Show / Hide Table of Contents

    Class AssetBundleResource

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

    Inheritance
    Object
    AssetBundleResource
    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
    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 AssetBundleResource.LoadType, out String)

    Determines where an AssetBundle can be loaded from.

    Start(ProvideHandle)

    Stores AssetBundle loading information, starts loading the bundle.

    Unload()

    Unloads all resources associated with the AssetBundle.

    Update(Single)

    This will be called once per frame by the ResourceManager

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 12, 2022
    Terms of use