docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CompatibilityAssetBundleManifest

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

    Inheritance
    object
    Object
    ScriptableObject
    CompatibilityAssetBundleManifest
    Implements
    ISerializationCallbackReceiver
    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, bool)
    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, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    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
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Build.Pipeline
    Assembly: Unity.ScriptableBuildPipeline.dll
    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
    uint

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

    OnBeforeSerialize()

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

    Declaration
    public void 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()

    Returns a formatted string with the contents of the manifest file.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Returns a string suitable for saving into a manifest file.

    Overrides
    Object.ToString()

    Implements

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