Version: 5.6
public void OnProcessScene (SceneManagement.Scene scene);

パラメーター

scene The current Scene being processed.

説明

Implement this function to receive a callback for each Scene during the build.

using UnityEditor;
using UnityEditor.Build;
class MyCustomBuildProcessor : IProcessScene
{
    public int CallbackOrder { get { return 0; } }
    public void OnProcessScene(UnityEngine.SceneManagement.Scene scene)
    {
        Debug.Log("MyCustomBuildProcessor.OnProcessScene " + scene.name);
    }
}