文档

Unity Engine

Unity Engine

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void RegisterBuildPlayerHandler(Action<BuildPlayerOptions> func)

Parameters

Delegate Action that takes a BuildPlayerOptions parameter.