Module Creation

This page describes how you can select a individual folder and generate assembly definitions only for that folder.

Creating individual assembly definitions for specific folders in your Unity project is easy with Assembly Generator. Follow these simple steps to create a module for a selected folder:

  1. Open the Project view in Unity and navigate to the folder where you want to generate the assembly definitions.

  2. Right-click on the folder to open the context menu.

  3. Select "Assembly Generator" and then "Create Module" to generate assembly definitions for the selected folder.

  4. Assembly definitions and assembly references will be generated for the folder and all its subfolders.

  5. 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.

  6. To clean up the folder, Select "Assembly Generator" 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. With Assembly Generator, you can easily create and manage your assembly definitions, streamlining your workflow and optimizing the performance of your Unity project.

Last updated