Plugin Development
- This topic has 1 reply, 2 voices, and was last updated 1 week, 5 days ago by .
- You must be logged in to reply to this topic.
Welcome to Portals United! / Forums / Troubleshooting / Plugin Development
Could you share the process for developing plugins? Providing examples, such as a Git repository for a sample plugin, would be extremely helpful.
In the documentation, we see that we can create a plugin using this guide. (https://www.portalsunited.com/docs/world-builder-how-to-create-a-plugin/)
It mentions, “You’ll need to create your own Dynamic Linked Library (DLL). It should be a C# .NET Framework library, with dependencies for Unity Engine and World Builder Plugin Core.”
How do we create such a DLL exactly? Do you have a GitHub repository with a sample plugin that we can try in the world builder?
Hi, I’ve found a way to do so:
If you’re using visual studio you can create a new project ( of “Class Library” type)
You’ll need to import the right dependencies (Unity dll and World Plugin Core at minimum) into your Class Library Project.
In Visual Studio you can do so in many ways, if I remember correctly i did it through: Project -> Add Reference -> Browse
Once you want the .dll you’ll just need to compile the project