[fix] PatchScriptingAssemblyList.cs在Unity 2023+版本webgl平台的编译错误
parent
d61511924d
commit
0fcb51a369
|
@ -12,7 +12,7 @@ using UnityEditor.Build.Reporting;
|
||||||
using UnityEditor.UnityLinker;
|
using UnityEditor.UnityLinker;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityFS;
|
using UnityFS;
|
||||||
#if !UNITY_2021_1_OR_NEWER
|
#if !UNITY_2023_1_OR_NEWER
|
||||||
using UnityEditor.Il2Cpp;
|
using UnityEditor.Il2Cpp;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ namespace HybridCLR.Editor.BuildProcessors
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_WEBGL
|
#if UNITY_WEBGL && !UNITY_2022_3_OR_NEWER
|
||||||
public void OnBeforeConvertRun(BuildReport report, Il2CppBuildPipelineData data)
|
public void OnBeforeConvertRun(BuildReport report, Il2CppBuildPipelineData data)
|
||||||
{
|
{
|
||||||
PathScriptingAssembilesFile($"{SettingsUtil.ProjectDir}/Temp/StagingArea/Data");
|
PathScriptingAssembilesFile($"{SettingsUtil.ProjectDir}/Temp/StagingArea/Data");
|
||||||
|
|
Loading…
Reference in New Issue