onSceneEnter
ScriptBase::onSceneEnter
Is executed after a new scene is loaded.
Declaration
virtual void onSceneEnter(const std::string& scenePath);
Parameters
Name |
Type |
Description |
---|---|---|
scenePath |
const std::string& |
The path of the new scene. |
Returns
None.
Notes
This function is called after all the Entities of the new scene are created.
This function is generally only useful on persistent Entities.