LoadScene /Scene and entities

void LoadScene(string fileName, string onSceneCreated, string onSceneUpdate)

Send a request to load the scene and assigns an onSceneCreated and/or an onSceneUpdate callback function to the new scene. Read more about scene callback functions.

LoadScene("scenes/bowser_castle.esc", "NewGame", "UpdateScene");