docs.unity3d.com
    Show / Hide Table of Contents

    Class CompatibilityAssetBundleManifest

    Accesses information about all the asset bundles stored in a manifest file.

    Inheritance
    Object
    Object
    ScriptableObject
    CompatibilityAssetBundleManifest
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.name
    Object.hideFlags
    Namespace: UnityEngine.Build.Pipeline
    Syntax
    [Serializable]
    public class CompatibilityAssetBundleManifest : ScriptableObject, ISerializationCallbackReceiver

    Methods

    GetAllAssetBundles()

    Retrieves the names of all the asset bundles.

    Declaration
    public string[] GetAllAssetBundles()
    Returns
    Type Description
    String[]

    Returns the names of all the asset bundles.

    GetAllAssetBundlesWithVariant()

    Oboslete method.

    Declaration
    public string[] GetAllAssetBundlesWithVariant()
    Returns
    Type Description
    String[]

    Returns an empty array.

    GetAllDependencies(String)

    Retrieves all bundle dependencies based on the specified bundle name.

    Declaration
    public string[] GetAllDependencies(string assetBundleName)
    Parameters
    Type Name Description
    String assetBundleName

    The bundle name to lookup.

    Returns
    Type Description
    String[]

    Returns all the dependencies of the bundle.

    GetAssetBundleCrc(String)

    Retrieves the cyclic redundancy check information for specified asset bundle.

    Declaration
    public uint GetAssetBundleCrc(string assetBundleName)
    Parameters
    Type Name Description
    String assetBundleName

    The bundle name.

    Returns
    Type Description
    UInt32

    Returns the cyclic redundancy check information for specified asset bundle.

    GetAssetBundleHash(String)

    Retrieves the hash of the asset bundle.

    Declaration
    public Hash128 GetAssetBundleHash(string assetBundleName)
    Parameters
    Type Name Description
    String assetBundleName

    The name of the bundle.

    Returns
    Type Description
    Hash128

    Returns the hash.

    GetDirectDependencies(String)

    Retrieves all bundle dependencies based on the specified bundle name.

    Declaration
    public string[] GetDirectDependencies(string assetBundleName)
    Parameters
    Type Name Description
    String assetBundleName

    The bundle name to lookup.

    Returns
    Type Description
    String[]

    Returns all the dependencies of the bundle.

    OnAfterDeserialize()

    Puts back the converted data into its original data structure after a domain reload.

    Declaration
    public void OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    Converts our data to a serialized structure before a domain reload.

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    SetResults(Dictionary<String, BundleDetails>)

    Stores the bundle information.

    Declaration
    public void SetResults(Dictionary<string, BundleDetails> results)
    Parameters
    Type Name Description
    Dictionary<String, BundleDetails> results

    The bundle information.

    ToString()

    Converts the information about the manifest file to a formatted string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Returns information about the manifest file.

    Overrides
    Object.ToString()
    Back to top
    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