Method OnActiveSceneChanged
OnActiveSceneChanged(Scene, Scene)
Called when the active scene changes
Declaration
void OnActiveSceneChanged(Scene oldScene, Scene newScene)
Parameters
Type | Name | Description |
---|---|---|
Scene | oldScene | The previously active scene |
Scene | newScene | The scene that will become active |