Implement this interface to execute code immediately after the Player build process is completed.
This interface is replaced by IPostprocessBuildWithContext, which works for AssetBundle and ContentDirectory builds as well.
This is useful for tasks that need to be performed as the last step of building, such as cleaning up assets, generating analytics or reports, or customizing build outputs.
As a final step of a Player build, Unity uses the IOrderedCallback.callbackOrder property on each implementation to determine the order in which to invoke the callbacks.
Additional resources: IPreprocessBuildWithReport, BuildPipeline.BuildPlayer
| Method | Description |
|---|---|
| OnPostprocessBuild | Implement this function to receive a callback after the build is complete. |