Show / Hide Table of Contents

Class BuildPipelineCustomizer

Inheritance
object
BuildPipelineCustomizer
Namespace: WeaverCore.Editor.Compilation
Assembly: WeaverCore.Editor.dll
Syntax
public abstract class BuildPipelineCustomizer

Methods

| Edit this page View Source

BeforeBuildBegin()

Runs a tast before the build begins. Returns false if an error occurs

Declaration
public virtual Task<bool> BeforeBuildBegin()
Returns
Type Description
Task<bool>
| Edit this page View Source

BuildScreenOnGUIExtension(BuildScreen)

Used for adding any extra properties to the Build Screen

Declaration
public virtual void BuildScreenOnGUIExtension(BuildScreen sourceScreen)
Parameters
Type Name Description
BuildScreen sourceScreen
| Edit this page View Source

ChangeAssemblyNames(Dictionary<string, string>)

After all the assemblies have been build, the names of these assemblies will get changed. This is useful for making sure assetbundles point to the right assemblies when finding scripts

Declaration
public virtual void ChangeAssemblyNames(Dictionary<string, string> assemblyNamesToChange)
Parameters
Type Name Description
Dictionary<string, string> assemblyNamesToChange
| Edit this page View Source

ChangeBundleAssemblyPairings(Dictionary<string, AssemblyName>, List<AssemblyName>)

Used to modify which asset bundles get injected into which assemblies.

Declaration
public virtual void ChangeBundleAssemblyPairings(Dictionary<string, AssemblyName> bundleToAssemblyPairings, List<AssemblyName> assemblyNames)
Parameters
Type Name Description
Dictionary<string, AssemblyName> bundleToAssemblyPairings
List<AssemblyName> assemblyNames
| Edit this page View Source

GetCurrentPipelineCustomizer()

Declaration
public static BuildPipelineCustomizer GetCurrentPipelineCustomizer()
Returns
Type Description
BuildPipelineCustomizer
| Edit this page View Source

GetCurrentPipelineCustomizerType()

Declaration
public static Type GetCurrentPipelineCustomizerType()
Returns
Type Description
Type
| Edit this page View Source

OnAfterBuildFinished()

Used to run any extra steps after all the other build steps have been finished (compiling and bundling of assets)

Declaration
public virtual Task<bool> OnAfterBuildFinished()
Returns
Type Description
Task<bool>
| Edit this page View Source

OnLoadSettings()

Called to load any persistent settings

Declaration
public virtual void OnLoadSettings()
| Edit this page View Source

OnSaveSettings()

Called to save any persistent settings

Declaration
public virtual void OnSaveSettings()
| Edit this page View Source

PreBuildVerify()

Used to verify the build settings on the build screen before starting the build

Declaration
public virtual bool PreBuildVerify()
Returns
Type Description
bool
| Edit this page View Source

TryGetCurrentCustomizer(out BuildPipelineCustomizer)

Declaration
public static bool TryGetCurrentCustomizer(out BuildPipelineCustomizer customizer)
Parameters
Type Name Description
BuildPipelineCustomizer customizer
Returns
Type Description
bool

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾