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

    January 2, 2025 at 2:06 pm #517

    Great comment! Thank you for improving the knowledge base here in the forum. 🙂

    February 25, 2025 at 9:28 am #824

    We now published 2 plugin examples which you can download. A third example is planned to come out soon which covers extending the location UI. The example plugin code is here.

    March 7, 2025 at 2:54 am #876

    Thanks we will look into it again👍

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