Show / Hide Table of Contents

Class BundleTools

Contains tools needed for building mod asset bundles

Inheritance
object
BundleTools
Namespace: WeaverCore.Editor.Compilation
Assembly: WeaverCore.Editor.dll
Syntax
public static class BundleTools

Properties

| Edit this page View Source

Data

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 Source

BuildAndEmbedAssetBundles(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

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾