-
Notifications
You must be signed in to change notification settings - Fork 428
Open
Description
BurstAotComplier的order为0,这里对dll都注入一下
注意,要修改一下InjectAssembly中注入dll的地址,因为这个dll在Temp中
` public class IFixProcess : IPostBuildPlayerScriptDLLs
{
public int callbackOrder => 1000;
public void OnPostBuildPlayerScriptDLLs(BuildReport report)
{
UnityEngine.Debug.Log("OnPostBuildPlayerScriptDLLs注入开始,PlayerScriptAssemblies");
IFixEditor.InjectAllAssemblys();
UnityEngine.Debug.Log("OnPostBuildPlayerScriptDLLs注入开始,Temp(适配Burst)");
IFixEditor.customAssembliesFolder = "Temp/StagingArea/Data/Managed";
IFixEditor.InjectAllAssemblys();
IFixEditor.customAssembliesFolder = null;
}
}`
Metadata
Metadata
Assignees
Labels
No labels