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 (Level levelName)
 Function that loads a level via LevelName only if unlocked.
bool LoadLevelViaLevelName (Level levelName)
 Function that loads a level via LevelName.
bool IsLevelUnlocked (Level levelName)
 Function that checks if a certain level is unlocked.
void SaveCheckpoint ()
void LoadLastCheckpoint ()

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 ( Level 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:

◆ LoadLastCheckpoint()

void LevelManager.LoadLastCheckpoint ( )
inline
Here is the call graph for this function:

◆ LoadLevelViaLevelName()

bool LevelManager.LoadLevelViaLevelName ( Level levelName)
inline

Function that loads a level via LevelName.

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

◆ LoadLevelViaLevelNameIfUnlocked()

bool LevelManager.LoadLevelViaLevelNameIfUnlocked ( Level 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:

◆ SaveCheckpoint()

void LevelManager.SaveCheckpoint ( )
inline
Here is the call graph for this function:

Property Documentation

◆ Instance

LevelManager LevelManager.Instance
staticget

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