Class BundleTools
Contains tools needed for building mod asset bundles
Namespace: WeaverCore.Editor.Compilation
Assembly: WeaverCore.Editor.dll
Syntax
public static class BundleTools
Properties
| Edit this page View SourceData
Contains all the data regarding the current build process
Declaration
public static BundleTools.BundleBuildData Data { get; set; }
Property Value
Type | Description |
---|---|
BundleTools.BundleBuildData |
Methods
| Edit this page View SourceBuildAndEmbedAssetBundles(FileInfo, FileInfo, MethodInfo)
Builds all the asset bundles in the project and embeds them into the mod assemblies. This method will reload the project several times before completing
Declaration
public static void BuildAndEmbedAssetBundles(FileInfo modDll, FileInfo weaverCoreDLL, MethodInfo OnComplete)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | modDll | The file path to the mod dll |
FileInfo | weaverCoreDLL | The file path to WeaverCore.dll |
MethodInfo | OnComplete | The method to call when the process is done |