Method group is Obsolete

AssemblyBuilder

class in UnityEditor.Compilation

Obsolete This feature is being deprecated and will be removed in the future. Similar functionality can be achieved using the Roslyn compiler.

Description

Compiles scripts outside the Assets folder into a managed assembly that can be used inside the Assets folder.

The AssemblyBuilder class compiles scripts that are outside the Assets folder into a managed assembly, with the same references and #define directives as scripts inside the Assets folder. This is useful for building assemblies of scripts you do not want placed in the Assets folder.

See AssemblyBuilder.Build for an example of how to use this class.


Did you find this page useful? Please give it a rating: