Class TaskGetBuildMap
Assembly: YooAsset.Editor.dll
Declaration
public class TaskGetBuildMap
Methods
CreateBuildMap(bool, BuildParameters)
生成资源构建上下文
Declaration
public BuildMapContext CreateBuildMap(bool simulateBuild, BuildParameters buildParameters)
Returns
YooAsset.Editor.BuildMapContext
Parameters
Type | Name |
---|---|
System.Boolean | simulateBuild |
YooAsset.Editor.BuildParameters | buildParameters |
PreProcessPackShareBundle(BuildParameters, CollectCommand, Dictionary<string, BuildAssetInfo>)
共享资源打包前置处理
Declaration
protected virtual void PreProcessPackShareBundle(BuildParameters buildParameters, CollectCommand command, Dictionary<string, BuildAssetInfo> allBuildAssetInfos)
Parameters
Type | Name |
---|---|
YooAsset.Editor.BuildParameters | buildParameters |
YooAsset.Editor.CollectCommand | command |
System.Collections.Generic.Dictionary<System.String,YooAsset.Editor.BuildAssetInfo> | allBuildAssetInfos |
ProcessingPackShareBundle(BuildParameters, CollectCommand, BuildAssetInfo)
共享资源打包机制
Declaration
protected virtual void ProcessingPackShareBundle(BuildParameters buildParameters, CollectCommand command, BuildAssetInfo buildAssetInfo)
Parameters
Type | Name |
---|---|
YooAsset.Editor.BuildParameters | buildParameters |
YooAsset.Editor.CollectCommand | command |
YooAsset.Editor.BuildAssetInfo | buildAssetInfo |
PostProcessPackShareBundle(BuildParameters, CollectCommand, Dictionary<string, BuildAssetInfo>)
共享资源打包后置处理
Declaration
protected virtual void PostProcessPackShareBundle(BuildParameters buildParameters, CollectCommand command, Dictionary<string, BuildAssetInfo> allBuildAssetInfos)
Parameters
Type | Name |
---|---|
YooAsset.Editor.BuildParameters | buildParameters |
YooAsset.Editor.CollectCommand | command |
System.Collections.Generic.Dictionary<System.String,YooAsset.Editor.BuildAssetInfo> | allBuildAssetInfos |