Folder Assembly Definitions
Creating individual assembly definitions for specific folders in your Unity project is easy with Cobra Assemblies.
Follow these simple steps to create a module for a selected folder:
- Open the Project view in Unity and navigate to the folder where you want to generate the assembly definitions.
- Right-click on the folder to open the context menu.
- Select "Cobra Assemblies" and then "Create Module" to generate assembly definitions for the selected folder.
- Assembly definitions and assembly references will be generated for the folder and all its subfolders.
- Two types of assembly definitions will be created, one for runtime and one for editor scripts. If a subfolder is named "Editor", it and all its subfolders will be included in the Editor assembly definitions.
- To clean up the folder, Select "Cobra Assemblies" and then "Clean Up Folder" to restore the folder to its original state.
By using this feature, you can selectively optimize specific areas of your project without the need for manual assembly creation, saving you time and effort while still providing the benefits of improved performance and organization.