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
    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