修复2021上GetScriptAssembliesPath返回错误路径的Bug
parent
8b2b03813f
commit
605f5ec6a9
|
@ -36,10 +36,7 @@ namespace Obfuz
|
|||
|
||||
private static string GetScriptAssembliesPath()
|
||||
{
|
||||
#if UNITY_2021_1_OR_NEWER
|
||||
//object settings = obj.GetType().GetProperty("settings").GetValue(obj);
|
||||
//string path = (string)settings.GetType().GetProperty("OutputDirectory").GetValue(settings);
|
||||
//return path;
|
||||
#if UNITY_2022_1_OR_NEWER
|
||||
return "Library/Bee/PlayerScriptAssemblies";
|
||||
#else
|
||||
return "Library/PlayerScriptAssemblies";
|
||||
|
|
Loading…
Reference in New Issue