Readonly$Enum handler functions for this object
ReadonlyNewThis scene was loaded because a new game started.
ReadonlyPlayerPlayer normally moved here by walking.
ReadonlyPlayerPlayer teleported here by a script
ReadonlyWillWe are loading a saved game from a save file.
The game will be loaded from a saved state after this callback finishes (either save file or a backup state).
Do not initialize scene and game variables or start new coroutines in this mode, as they will be restored from the save file afterwards.
You should still do other scene initializations in this mode: initialize your objects, zones and waypoints, register handlers, register the coroutines, etc.
Some objects and zone states will be overwritten afterwards, by loading the saved game state.
Used in the scene event to let the mod developer know the reason why the scene is being loaded.
See
Global Access
scene.LoadModes.