Production Code from external Plugins and Extension

Hey,
currently I am working on a small RTS game and I downloaded the Unity Test Tools for writing some Unit Tests.
In the most Packages from asset store are some example and documentation documents.
My question is about handling this files. If I build my project, will Unity add the sample code (Not the scenes, Unity only use the scenes I add to build) and images etc… ?
How you handle this Packages? Do you check the full package in a separate project and just copy things that you really need or put you the complete package stuff inside of the production project?

Thanks for help and information :slight_smile:
Regards,
Markus

Unity will check what is used in the scene that are included into the build and what is used in that scenes.
Everything that is not used / referenced will not be included into the build.
The exception of that rule is the resources folder. all files in the ressources folder are always included.
If you know you will not need the example files for

In general is useful to keep your project slim / clutter free. This will do you nicely on recompilation of the code inside the editor or when importing the project on another pc / switching platforms.

1 Like

Thanks for your reply.
I removed the sample scenes and code from my production code and put it in an sample project just for the samples and testing.

Oder wie wir in Deutschland sagen: Danke :wink: