Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BuildPlayerWindow

The default build settings window.
Read time 7 minutesLast updated 5 days ago

Definition

public class BuildPlayerWindow : EditorWindow

Static Methods

Method

Description

RegisterBuildPlayerHandlerRegister a delegate to intercept or override the build process executed with the "Build" and "Build and Run" buttons. Registering a null value will restore default behavior, which is the equivalent of calling BuildPlayerWindow.DefaultBuildMethods.BuildPlayer.
RegisterGetBuildPlayerOptionsHandlerRegister a delegate method to calculate BuildPlayerOptions that are passed to the build player handler. Registering a null value will restore default behavior, which is the equivalent of calling BuildPlayerWindow.DefaultBuildMethods.GetBuildPlayerOptions.
ShowBuildPlayerWindowOpen the build settings window.

Classes

Class

Description

BuildPlayerWindow.BuildMethodExceptionExceptions used to indicate abort or failure in the callbacks registered via BuildPlayerWindow.RegisterBuildPlayerHandler and BuildPlayerWindow.RegisterGetBuildPlayerOptionsHandler.
BuildPlayerWindow.DefaultBuildMethodsDefault build methods for the BuildPlayerWindow.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.