We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b33cd6d commit 8784088Copy full SHA for 8784088
1 file changed
Il2CppInterop.Runtime/Startup/Il2CppInteropRuntime.cs
@@ -40,8 +40,20 @@ public static Il2CppInteropRuntime Create(RuntimeConfiguration configuration)
40
return res;
41
}
42
43
+ public class FakeListProvider : IAssemblyListProvider
44
+ {
45
+ public IEnumerable<string> GetAssemblyList()
46
47
+ var coreFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
48
+ var pluginsFolder = Path.Combine(coreFolder, "../plugins/");
49
+
50
+ return Directory.EnumerateFiles(pluginsFolder, "*", SearchOption.AllDirectories);
51
+ }
52
53
54
public override void Start()
55
{
56
+ this.AddAssemblyInjector<BaseHost, FakeListProvider>();
57
UnityVersionHandler.RecalculateHandlers();
58
base.Start();
59
0 commit comments