Menu
It is a scene which was created only for one purpose: to select LevelData which will be loaded.
The core part is located inside LoadLevel method
First, we create a new GameEntity instance with specified LevelData. Then the instance is assigned to a static variable to “survive” through the scene loading process.
Second, we load selected level with additional Game scene through the Loading scene.
Summarizing the above, Menu scene could be customized in any way. The only thing that needs to be left is only these several lines of code.
Created with the Personal Edition of HelpNDoc: Easily create EBooks