Unity - Scripting API: IProcessSceneWithReport
interface in UnityEditor.Build
Implements interfaces:IOrderedCallback
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
Implement this interface to receive a callback for each scene during the build.
If the scene or related content in the project is unchanged from the previous Player build, Unity doesn't build the scene and instead uses cached Player build data. In this case, the callback isn't called. For more information about build callbacks, refer to Use build callbacks.
Public Methods
| Method | Description |
|---|---|
| OnProcessScene | Implement this method to receive a callback for each scene during the build. |