[fix] 修复 UnityPluginAssemblyResolver 扫描dll时,失误扫描了非Plugins dll的bug
parent
cd68f33161
commit
62bf4c2847
|
@ -15,7 +15,7 @@ namespace HybridCLR.Editor.Meta
|
|||
{
|
||||
foreach(var dll in Directory.GetFiles(UnityEngine.Application.dataPath, "*.dll", SearchOption.AllDirectories))
|
||||
{
|
||||
if (Path.GetFileNameWithoutExtension(dll) == assemblyName)
|
||||
if (Path.GetFileNameWithoutExtension(dll) == assemblyName && dll.Contains("Plugins"))
|
||||
{
|
||||
Debug.Log($"plugin:{dll}");
|
||||
return dll;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "com.focus-creative-games.hybridclr_unity",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"displayName": "HybridCLR",
|
||||
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
|
||||
"category": "Runtime",
|
||||
|
|
Loading…
Reference in New Issue