BuildPlayerWindow
The default build settings window.
Read time 7 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
- Inherits from: EditorWindow
public class BuildPlayerWindow : EditorWindow
Static Methods
Method | Description |
|---|---|
| RegisterBuildPlayerHandler | Register 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. |
| RegisterGetBuildPlayerOptionsHandler | Register 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. |
| ShowBuildPlayerWindow | Open the build settings window. |
Classes
Class | Description |
|---|---|
| BuildPlayerWindow.BuildMethodException | Exceptions used to indicate abort or failure in the callbacks registered via BuildPlayerWindow.RegisterBuildPlayerHandler and BuildPlayerWindow.RegisterGetBuildPlayerOptionsHandler. |
| BuildPlayerWindow.DefaultBuildMethods | Default build methods for the BuildPlayerWindow. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |