RegisterBuildPlayerHandler(Action<BuildPlayerOptions>)
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.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void RegisterBuildPlayerHandler(Action<BuildPlayerOptions> func)
Parameters
Delegate Action that takes a BuildPlayerOptions parameter.