VGDC 2025-2026 Club Game
Loading...
Searching...
No Matches
LevelManager Class Reference

Class that handles the level data of the game, and starting level changes. More...

Inheritance diagram for LevelManager:
Collaboration diagram for LevelManager:

Public Member Functions

bool LoadLevelViaLevelNameIfUnlocked (LevelName levelName)
 Function that loads a level via LevelName only if unlocked.
bool LoadLevelViaLevelName (LevelName levelName)
 Function that loads a level via LevelName.
bool IsLevelUnlocked (LevelName levelName)
 Function that checks if a certain level is unlocked.

Properties

static LevelManager Instance [get]

Detailed Description

Class that handles the level data of the game, and starting level changes.

Member Function Documentation

◆ IsLevelUnlocked()

bool LevelManager.IsLevelUnlocked ( LevelName levelName)
inline

Function that checks if a certain level is unlocked.

Parameters
levelNameThe name of the level, set in the inspector please
Returns
False if not unlocked
Here is the caller graph for this function:

◆ LoadLevelViaLevelName()

bool LevelManager.LoadLevelViaLevelName ( LevelName levelName)
inline

Function that loads a level via LevelName.

Parameters
levelNameThe name of the level, set in the inspector please
Returns
False if failed

◆ LoadLevelViaLevelNameIfUnlocked()

bool LevelManager.LoadLevelViaLevelNameIfUnlocked ( LevelName levelName)
inline

Function that loads a level via LevelName only if unlocked.

Parameters
levelNameThe name of the level
Returns
Returns false if failed, otherwise true for succeeded
Here is the call graph for this function:
Here is the caller graph for this function:

Property Documentation

◆ Instance

LevelManager LevelManager.Instance
staticget

The documentation for this class was generated from the following file: