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

Automating the BuildPipeline class

The Build Pipeline varies depending on the project, but the core remains the same. You execute a few tasks before you create a build (or several ones), and then you do something with them.

We will start with the basics, generating a build using editor scripting and then creating several ones for different platforms with just one click.

Adjusting the player settings

Usually, before creating a build in Unity, you navigate to File | Build Settings… and click on Player Settings in the window that appears:

Adjusting the player settings

This will display all the properties that you can set for your build in the Inspector window, such as Company name ...

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