- Home /
Multiple Editor and Plugins Directory
Hello,
is it possible to have multiple Editor and Plugins directory in unity project?
If not : how to manage third party package which have editor or plugin?
Thanks
Answer by Bunny83 · Mar 19, 2016 at 01:09 PM
Well It's possible to have multiple editor folders even inside subfolders, However the plugin folder need to be at root level inside the assets folder. You can however add subfolders to the plugin folder. Maybe they will change that in the future. As by now most packages which have plugins simply contain a plugin folder with a subfolder of their company name or the name of their package.
Answer by Meatloaf4 · Jul 18, 2018 at 07:18 PM
It is in fact possible to have Plugins folders not at root level, but to be clear only folder contained in the root Plugins folder will be placed in the Assembly-CSharp-firstpass
assembly.
Example
Amplify Color & Odin Inspector have the follow folder strucutres.
Amplify Color: Amplify Color -> Plugins -> Code
,
Odin Inspector:Plugins -> Sirenix -> Code
Notice however how Amplify Color is not included in the Assembly-CSharp-firstpass
while Odin Inspector is included.
Answer by IMD · May 12, 2016 at 10:28 AM
I have to disagree @Bunny83. It is possible to have Plugins directories not at the root level, as long as they have the Unity projects' Assets folder somewhere within their path, and have the folder name 'Plugins'
Unity documentation states: "You can only have one Plugins folder and it must be placed in the root of the Project; directly within the Assets folder."
https://docs.unity3d.com/$$anonymous$$anual/SpecialFolders.html
Note that pure managed assemblies are not "plugins". $$anonymous$$anaged code assemblies can be placed anywhere inside the project's assets folder or any subfolder. "Plugins" specifically only applies to native code plugins which have to be located in the plugins folder.
Your answer
Follow this Question
Related Questions
Any project explorer addins? 0 Answers
Using Native Plugins in an Android Project and Executing in the Unity Editor 0 Answers
Best practice for migrating scripts to plugin? 1 Answer
Unable to integrate Visual Studio 0 Answers
Where does Unity5 look for native plugin dependencies in the editor on Windows? 1 Answer