docs.unity3d.com
    Show / Hide Table of Contents

    Struct BundleDetails

    Struct containing detailed information about a built asset bundle.

    Namespace: UnityEngine.Build.Pipeline
    Syntax
    [Serializable]
    public struct BundleDetails : IEquatable<BundleDetails>

    Properties

    Crc

    Cyclic redundancy check of the content contained inside of the asset bundle. This value will not change between identical asset bundles with different compression options.

    Declaration
    public uint Crc { get; set; }
    Property Value
    Type Description
    UInt32

    Dependencies

    The array of all dependent asset bundles for this asset bundle.

    Declaration
    public string[] Dependencies { get; set; }
    Property Value
    Type Description
    String[]

    FileName

    Specific file name on disk of the asset bundle.

    Declaration
    public string FileName { get; set; }
    Property Value
    Type Description
    String

    Hash

    The hash version of the content contained inside of the asset bundle. This value will not change between identical asset bundles with different compression options.

    Declaration
    public Hash128 Hash { get; set; }
    Property Value
    Type Description
    Hash128

    Methods

    Equals(Object)

    Determines if the current bundle details instance is equivalent the specified bundle details.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The bundle details to compare to.

    Returns
    Type Description
    Boolean

    Returns true if the bundle details are equivalent. Returns false otherwise.

    Overrides
    ValueType.Equals(Object)

    Equals(BundleDetails)

    Determines if the current instance is equivalent to the specified bundle details object.

    Declaration
    public bool Equals(BundleDetails other)
    Parameters
    Type Name Description
    BundleDetails other

    The object to compare to.

    Returns
    Type Description
    Boolean

    Returns true if the bundle details objects are equivalent. Returns false otherwise.

    GetHashCode()

    Creates the hash code of the bundle information.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Returns the created hash code.

    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(BundleDetails, BundleDetails)

    Declaration
    public static bool operator ==(BundleDetails a, BundleDetails b)
    Parameters
    Type Name Description
    BundleDetails a
    BundleDetails b
    Returns
    Type Description
    Boolean

    Inequality(BundleDetails, BundleDetails)

    Declaration
    public static bool operator !=(BundleDetails a, BundleDetails b)
    Parameters
    Type Name Description
    BundleDetails a
    BundleDetails b
    Returns
    Type Description
    Boolean
    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