O'Reilly logo

Extending Unity with Editor Scripting by Angelo Tadres

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a DLL file for the AssetPostprocessors

If you have your video game in a production pipeline, you must consider placing all your AssetPostprocessors in a prebuilt DLL file in the project instead of in scripts. This is because when you have a compile error in one of the project scripts, it will lead to assets being imported differently.

The DLL approach helps us to ensure that they can always be executed even if the scripts of our project have compile errors.

In this section, you will learn how to create a DLL file in MonoDevelop using the scripts we created in the previous sections.

Creating and setting up a DLL project

DLLs are Dynamic Link Libraries; this means that they're linked to your program at runtime instead of compile time.

Usually ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required