[fix] PatchScriptingAssemblyList.cs在Unity 2023+版本webgl平台的编译错误

main
walon 2024-05-30 19:21:58 +08:00
parent d61511924d
commit 0fcb51a369
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ using UnityEditor.Build.Reporting;
using UnityEditor.UnityLinker;
using UnityEngine;
using UnityFS;
#if !UNITY_2021_1_OR_NEWER
#if !UNITY_2023_1_OR_NEWER
using UnityEditor.Il2Cpp;
#endif
@ -179,7 +179,7 @@ namespace HybridCLR.Editor.BuildProcessors
return true;
}
#if UNITY_WEBGL
#if UNITY_WEBGL && !UNITY_2022_3_OR_NEWER
public void OnBeforeConvertRun(BuildReport report, Il2CppBuildPipelineData data)
{
PathScriptingAssembilesFile($"{SettingsUtil.ProjectDir}/Temp/StagingArea/Data");