docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VirtualAssetBundle

    Contains data need to simulate an asset bundle.

    Inheritance
    object
    VirtualAssetBundle
    Implements
    ISerializationCallbackReceiver
    IAssetBundleResource
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.ResourceManagement.ResourceProviders.Simulation
    Assembly: Unity.ResourceManager.dll
    Syntax
    [Serializable]
    public class VirtualAssetBundle : ISerializationCallbackReceiver, IAssetBundleResource

    Constructors

    Name Description
    VirtualAssetBundle()

    Construct a new VirtualAssetBundle object.

    VirtualAssetBundle(string, bool, uint, string)

    Construct a new VirtualAssetBundle

    Properties

    Name Description
    Assets

    The assets contained in the bundle.

    Name

    The name of the bundle.

    PercentComplete

    The percent of data that has been loaded.

    Methods

    Name Description
    GetAssetBundle()

    Implementation of IAssetBundleResource API

    OnAfterDeserialize()

    Load serialized data into runtime structures.

    OnBeforeSerialize()

    Not used

    SetSize(long, long)

    Set the size of the bundle.

    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)