IPreprocessBuildWithReport
Implement this interface to execute code at the start of the Player build process.
읽는 시간 1분최근 업데이트: 한 달 전
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. |