Function called after the scene event sheet.
The current scene.
Function called before the scene event sheet.
The current scene.
Function called when the scene switched.
The new scene.
Function called when the mod should get unloaded, to allow it to clean things up.
This class describes a GDMod mod that can be returned by the JavaScript code. Using it has advantages: