Service to notify subscribers when a scene is being unloaded.
More...
|
static void | NotifyWillUnloadScene (int sceneIndex) |
| Notifies all subscribers that the scene with the specified index will be unloaded.
|
|
Service to notify subscribers when a scene is being unloaded.
◆ NotifyWillUnloadScene()
static void PixelCrushers.SceneNotifier.NotifyWillUnloadScene |
( |
int |
sceneIndex | ) |
|
|
inlinestatic |
Notifies all subscribers that the scene with the specified index will be unloaded.
- Parameters
-
sceneIndex | Scene index in build settings. |
◆ UnloadSceneDelegate()
delegate void PixelCrushers.SceneNotifier.UnloadSceneDelegate |
( |
int |
sceneIndex | ) |
|
◆ willUnloadScene
Invoked by NotifyWillUnloadScene(sceneIndex), which should be called before unloading a scene.
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Release2/Assets/Plugins/Pixel Crushers/Common/Scripts/Misc/SceneNotifier.cs