using UnityEngine.SceneManagement;
namespace IllusionPlugin {
public interface IPluginNew : IPlugin{
///
/// Gets invoked whenever a scene is loaded.
///
/// The scene currently loaded
/// The type of loading
void OnSceneLoaded(Scene scene, LoadSceneMode sceneMode);
///
/// Gets invoked whenever a scene is unloaded
///
/// The unloaded scene
void OnSceneUnloaded(Scene scene);
///
/// Gets invoked whenever a scene is changed
///
/// The Scene that was previously loaded
/// The Scene being loaded
void OnActiveSceneChanged(Scene prevScene, Scene nextScene);
}
}