Search Unity

Standalone Plugin Maker

Discussion in 'Made With Unity' started by theylovegames, Sep 8, 2012.

  1. theylovegames

    theylovegames

    Joined:
    Aug 18, 2012
    Posts:
    176
    StandAlone Plugin Maker 1.0

    Now available in the Unity Asset Store:
    http://u3d.as/3kL



    If you've ever made a C++ native plugin for Unity, it's a bit of a process. I make my native plugins using the Visual Studio 2010 wizard. I start with an empty project, or clean out a bunch of pre-generated stuff before I can get down to adding my header and cpp implementation.

    I was about to repeat the process for the Nth time, and made a tool to generate the project instead. And then I took it further. The tool does not just make the solution, C++ project, and class library. You can use the Plugin Maker panel to add methods and parameters which are then generated in C# and C++ with matching signatures. While you are making changes to the PluginName, C# script name, methods, and parameters, you will see the Plugin Preview automatically generating script.

    And then you can take the auto generated script and customize it further. This let's you dive right into plugin development without the initial project setup.

    Finally when you build the Visual Studio native project solution, it will automatically put the compiled plugin into your Unity assets plugin folder. You can always export again, and VS 2010 will detect the change reload, where you can build an updated native plugin.

    I'm sure this is going to save users a bunch of time.

    There's also configuration support, so that you can make a method template, and reuse configurations that are common for you.
     
    Last edited: Sep 12, 2012
  2. mrmarooca

    mrmarooca

    Joined:
    Sep 9, 2012
    Posts:
    15
  3. theylovegames

    theylovegames

    Joined:
    Aug 18, 2012
    Posts:
    176
    Standalone Plugin Maker is now available in the Unity Asset Store!
    http://u3d.as/3kL
     
  4. theylovegames

    theylovegames

    Joined:
    Aug 18, 2012
    Posts:
    176
    The Standalone Plugin Maker now supports what you've all been waiting for..... BOOLs....

    http://u3d.as/3kL