- Home /
Unity PreBuild Step for Custom Plugins
I've recently been exploring the creation of Class Libraries in order to create reusable chunks of code I can share with others. However, I have to copy new builds of the library to the plugins folder every time I make a change. Not only that, but I have to run pdb2mdb on the dll if I intend to debug the library. This is an arduous task that I'd like to automate.
Is there a common solution for this already?
Could I create an editor extension that runs as a pre-build step to copy files to plugins?
The only option I'm aware of at the moment is to create a menu item to refresh DLLs (I think that'll work). Ideally, I'd like this to run automatically as the developer hits play.
Thanks, Trey
Your answer
Follow this Question
Related Questions
Proper usage of EditorUserBuildSettings and BuildOptions 1 Answer
BuildPlayer says successful but there is no .app to run 0 Answers
Editor Script: Build for multiple platforms at once. 1 Answer
Why does unity delete additional files after running a standalone build 0 Answers
Build Player from Command Line 2 Answers