Compilation.AssemblyBuilder - Unity スクリプトリファレンス
Compiles scripts outside the Assets folder into a managed assembly that can be used inside the Assets folder.