- Home /
How to add a custom module to Unity?
Greetings,
I have been trying to look for some information concerning my issue with no avail. I humbly ask for your help and I apologize if this has been solved already, I have been unable to find it.
My intention is to add a Custom Platform/Plugin to the Unity install. I already have my own native plugin C++ DLL and also a managed plugin C# DLL with the required dllimports:
[DllImport("ASimplePlugin", CallingConvention = CallingConvention.Cdecl)] private static extern int PrintANumber();
I also have noticed the modules.json file with all platforms and plugins a Unity Install can have. But I don't know how to proceed from here.
If I add a new entry to the modules.json file, what info do I set in or what do I have to do additionally in order to have my DLLs automatically imported and accessible from scripts in the new project I create with that custom module?
I really appreciate your help and I hope you could bring some light into this issue.