Revert "[change] Il2CppDefGenerator对于团结引擎额外生成一个UNITY_ENGINE_TUANJIE宏定义"
This reverts commit c6caba5662bc1f35bd0590963fd01286672a8185.main
parent
a5c006d67c
commit
ae88dd0eec
|
@ -39,12 +39,6 @@ namespace HybridCLR.Editor.Il2CppDef
|
|||
GeneratePlaceHolderAssemblies();
|
||||
}
|
||||
|
||||
|
||||
private static bool IsTuanJie()
|
||||
{
|
||||
return Regex.IsMatch(Application.unityVersion, @".*t\d+$");
|
||||
}
|
||||
|
||||
private void GenerateIl2CppConfig()
|
||||
{
|
||||
var frr = new FileRegionReplace(File.ReadAllText(_options.OutputFile));
|
||||
|
@ -66,11 +60,6 @@ namespace HybridCLR.Editor.Il2CppDef
|
|||
}
|
||||
}
|
||||
|
||||
if (IsTuanJie())
|
||||
{
|
||||
lines.Add($"#define UNITY_ENGINE_TUANJIE 1");
|
||||
}
|
||||
|
||||
frr.Replace("UNITY_VERSION", string.Join("\n", lines));
|
||||
|
||||
frr.Commit(_options.OutputFile);
|
||||
|
|
Loading…
Reference in New Issue