Main Menu Scene

Main Menu is the main hub of the game. Most of components inside this scene are permanent singletones that do not get unload when the Game scene is loaded. They provide management and access to different systems of the game.

Main Menu hierarchy

Game Controller

Game Controller is the main component of the game. It initializes and provides access to other components such as Save Manager or Audio Manager. It is also responsible for switching between scenes.


Save Manager

Save Manager provides easy high level ability to store and receive data from the file system. It works with IOS, Android, WebGL and PC

Field
Description

Clear Save

If selected, creates new save instead of loading save file

Auto Save Enabled

If selected, saves game automatically in background

Auto Save Delay

The time between automatic saves

// You can get a save from anywhere in the project using this code
// If there is no entry of "Abilities Save" in Save Database, 
// it will be created automatically
var abilitiesSave = GameController.SaveManager.GetSave<AbilitiesSave>("Abilities Save");

Window
Description

Lobby Window

This is the first window that greets the player when they open the game. Inside it you can select stage you want to play, start playing, or open other windows inside main menu

Upgrades Window

Inside this window you can buy upgrades or increase their level

Characters Window

Inside this window you can buy and select characters

Settings Windows

Inside this window you can toggle on or off music, sounds and vibrations

Persistent UI

Other UI that stay on the screen no matter what window is opened. Consists of Background Images and Gold Currency Indicators


Main Camera

The camera that renders Main Menu UI. Does not have any specific requirements, can be both perspective and orthographics, depending on your needs


Upgrades Manager

Upgrades Manager provides easy access to the upgrades system. To find out more, read Upgrades System Structure page


Easing Manager

Easing Manager is an in-house analog of the DoTween asset, that is build on top of Coroutines. It provides an easy way to animate gameObjects.


Vibration Manager

Vibration Manager is a simple system that provides haptic feedback on Android, IOS and WebGL


Audio Manager

Audio Manager is a simple system that simplifies working with sounds and music in game.

Last updated