BuildPlayerWindow.RegisterBuildPlayerHandler

Cambiar al Manual
public static void RegisterBuildPlayerHandler (Action<BuildPlayerOptions> func);

Parámetros

funcDelegate System.Action that takes a BuildPipeline.BuildPlayerOptions parameter.

Descripción

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.