docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct BundleDetails

    Struct containing detailed information about a built asset bundle.

    Implements
    IEquatable<BundleDetails>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Build.Pipeline
    Assembly: Unity.ScriptableBuildPipeline.dll
    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
    uint

    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
    bool

    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
    bool

    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
    int

    Returns the created hash code.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(BundleDetails, BundleDetails)

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

    operator !=(BundleDetails, BundleDetails)

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

    Implements

    IEquatable<T>
    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)