Class BundleWriteData
Basic implementation of IBundleWriteData. Stores the asset bundle write information calculated during a build. IBundleWriteData
Inherited Members
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> |