Book Image

Extending Unity with Editor Scripting

Book Image

Extending Unity with Editor Scripting

Overview of this book

Table of Contents (18 chapters)
Extending Unity with Editor Scripting
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Controlling the Import Pipeline Using AssetPostprocessor Scripts

If you have a growing video game project and your artists or other team members constantly drop assets in Unity, there is no doubt you have experienced the problem of having to manage the import settings on all of those assets.

Most of the time, importing assets is subject to errors, as somebody in the team often forgets to set the right parameters for them. Due to these kind of situations, automating the import pipeline of our video game project is important.

Fortunately, Unity has a feature called AssetPostprocessor, which allows us to hook actions prior to or after importing an asset.

You will learn how to get your own AssetPostprocessor classes up and running to customize and integrate assets directly into the Run & Jump video game project.

In this chapter, we will cover the following topics:

  • Using the AssetPostprocessor API

  • DLL creation