文档

Unity Engine

Unity Engine

BuildPlayerProcessor

Extend BuildPlayerProcessor to receive callbacks during a Player build.
阅读时间1 分钟最后更新于 1 个月前

Definition

public abstract class BuildPlayerProcessor : IOrderedCallback

Remarks

Add files and perform custom setup before the build starts. For more information, refer to Use build callbacks.
Additional Resources: IFilterBuildAssemblies, IPostBuildPlayerScriptDLLs, IUnityLinkerProcessor, IPreprocessBuildWithContext, IPostprocessBuildWithContext.

Properties

Property

Description

callbackOrderReturns the relative callback order for callbacks. Callbacks with lower values are called before ones with higher values.

Methods

Method

Description

PrepareForBuildImplement this function to receive a callback before a player build starts.