docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BundleWriteData

    Basic implementation of IBundleWriteData. Stores the asset bundle write information calculated during a build. IBundleWriteData

    Inheritance
    object
    BundleWriteData
    Implements
    IBundleWriteData
    IWriteData
    IContextObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Build.Pipeline
    Assembly: Unity.ScriptableBuildPipeline.Editor.dll
    Syntax
    [Serializable]
    public class BundleWriteData : IBundleWriteData, IWriteData, IContextObject

    Constructors

    BundleWriteData()

    Default constructor, initializes properties to defaults

    Declaration
    public BundleWriteData()

    Properties

    AssetToFiles

    Map of asset to file dependencies. First dependency in the list is the main file for an asset.

    Declaration
    public Dictionary<GUID, List<string>> AssetToFiles { get; }
    Property Value
    Type Description
    Dictionary<GUID, List<string>>

    FileToBundle

    Map of file name to bundle name

    Declaration
    public Dictionary<string, string> FileToBundle { get; }
    Property Value
    Type Description
    Dictionary<string, string>

    FileToObjects

    Map of file to list of objects in that file

    Declaration
    public Dictionary<string, List<ObjectIdentifier>> FileToObjects { get; }
    Property Value
    Type Description
    Dictionary<string, List<ObjectIdentifier>>

    FileToReferenceMap

    Map of file name to calculated object references

    Declaration
    public Dictionary<string, BuildReferenceMap> FileToReferenceMap { get; }
    Property Value
    Type Description
    Dictionary<string, BuildReferenceMap>

    FileToUsageSet

    Map of file name to calculated usage set

    Declaration
    public Dictionary<string, BuildUsageTagSet> FileToUsageSet { get; }
    Property Value
    Type Description
    Dictionary<string, BuildUsageTagSet>

    WriteOperations

    List of all write operations to serialize data to disk

    Declaration
    public List<IWriteOperation> WriteOperations { get; }
    Property Value
    Type Description
    List<IWriteOperation>

    Implements

    IBundleWriteData
    IWriteData
    IContextObject
    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)