IPreprocessBuildWithReport
Implement this interface to execute code at the start of the Player build process.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Interface
- Namespace: UnityEditor.Build
- Assembly: UnityEditor.CoreModule
public interface IPreprocessBuildWithReport : IOrderedCallback
Remarks
This interface behaves like IPreprocessBuildWithContext, but is invoked only for Player builds. Use IPreprocessBuildWithContext instead, because it is also invoked for AssetBundle and content directory builds.
For more information about build callbacks, refer to Use build callbacks
Additional Resources: IPreprocessBuildWithContext, BuildPlayerProcessor.PrepareForBuild, IPostprocessBuildWithReport, BuildPlayerProcessor, BuildPipeline.BuildPlayer
Methods
Method | Description |
|---|---|
| OnPreprocessBuild | Implement this method to receive a callback before the build is started. |