| Parameter | Description |
|---|---|
| scene | The scene Unity is currently processing during the build. |
Implement this method to receive a callback for each scene during the build.
using UnityEditor; using UnityEditor.Build; using UnityEngine;
class MyCustomBuildProcessor : IProcessScene { public int callbackOrder { get { return 0; } } public void OnProcessScene(UnityEngine.SceneManagement.Scene scene) { Debug.Log("MyCustomBuildProcessor.OnProcessScene " + scene.name); } }