Class BundleWriteData | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class BundleWriteData

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

    Inheritance
    System.Object
    BundleWriteData
    Namespace: UnityEditor.Build.Pipeline
    Syntax
    [Serializable]
    public class BundleWriteData : IBundleWriteData, IWriteData, IContextObject

    Constructors

    BundleWriteData()

    Default constructor, initializes properties to defaults

    Declaration
    public BundleWriteData()

    Properties

    AssetToFiles

    Declaration
    public Dictionary<GUID, List<string>> AssetToFiles { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<GUID, System.Collections.Generic.List<System.String>>
    Implements
    IWriteData.AssetToFiles

    FileToBundle

    Map of file name to bundle name

    Declaration
    public Dictionary<string, string> FileToBundle { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.String>
    Implements
    IBundleWriteData.FileToBundle

    FileToObjects

    Map of file to list of objects in that file

    Declaration
    public Dictionary<string, List<ObjectIdentifier>> FileToObjects { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<ObjectIdentifier>>
    Implements
    IWriteData.FileToObjects

    FileToReferenceMap

    Map of file name to calculated object references

    Declaration
    public Dictionary<string, BuildReferenceMap> FileToReferenceMap { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, BuildReferenceMap>
    Implements
    IBundleWriteData.FileToReferenceMap

    FileToUsageSet

    Map of file name to calculated usage set

    Declaration
    public Dictionary<string, BuildUsageTagSet> FileToUsageSet { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, BuildUsageTagSet>
    Implements
    IBundleWriteData.FileToUsageSet

    WriteOperations

    List of all write operations to serialize data to disk

    Declaration
    public List<IWriteOperation> WriteOperations { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<IWriteOperation>
    Implements
    IWriteData.WriteOperations
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX