fix(codegen): delegate event bridge weaving to shared processor
This commit is contained in:
@@ -11,8 +11,8 @@ namespace ShrinkNetwork.Integration.CodeGen
|
||||
{
|
||||
public override ILPostProcessor GetInstance() => this;
|
||||
|
||||
public override bool WillProcess(ICompiledAssembly compiledAssembly) =>
|
||||
UnityShrinkCodeGenAdapter.ReferencesAny(compiledAssembly, "ShrinkNetwork.Integration.EventBus");
|
||||
// ShrinkRegistryILPostProcessor owns the complete pass, including event bindings.
|
||||
public override bool WillProcess(ICompiledAssembly compiledAssembly) => false;
|
||||
|
||||
public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly) =>
|
||||
WillProcess(compiledAssembly)
|
||||
|
||||
Reference in New Issue
Block a user