sinai-dev / UniverseLib

A library for making plugins which target IL2CPP and Mono Unity games.
GNU Lesser General Public License v2.1
119 stars 51 forks source link

Move the dll to BepInEx\core so plugins don't have to bundle their own copies #13

Open ManlyMarco opened 1 year ago

ManlyMarco commented 1 year ago

API assemblies that aren't plugins can be copied to BepInEx\core to make them accessible from everywhere. This would make it no longer necessary to bundle this lib with your other plugins, just list it as a dependency. Alternatively you can make an empty plugin class so that BepInEx will always load this assembly and other plugins will be able to use BepInDependency to ensure this exists and is loaded first.