Pushing code from Unity

Unity provides several post-processing capabilities that allow you to both intercept and override and also add your own processing to just about anything in the asset pipeline: assets, scripts, and even the build process itself.

Processing assets

Post or pre-processing of assets is very useful if you have custom-made or complex assets that need additional work once they are imported in Unity. In most cases, this is not needed as Unity already does a lot of work for you by processing assets.

Note

If you do create any asset-processing scripts, remember they need to be placed in Assets\Editor.

We won't go into too much detail here as it is a very large area; this section is mainly to highlight its existence for those who were not ...

Get Mastering Unity 2D Game Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.