Plugin Development

  • Author
    Posts
  • December 11, 2024 at 1:48 pm #451

    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?

    December 11, 2024 at 4:40 pm #468

    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

  • You must be logged in to reply to this topic.