Version: 2019.4
public static void RegisterBuildPlayerHandler (Action<BuildPlayerOptions> func);

パラメーター

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

説明

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.