|
enum | Type { Other,
Level,
Extra
} |
|
|
static void | ReloadCurrent () |
| Reloads current level. More...
|
|
static void | LoadLevelByName (string levelName) |
| Loads level by its name defined in level configuration. More...
|
|
static bool | HasNext () |
| Determines whether there is next level present in level configuration (are there any other levels further ahead?) More...
|
|
static bool | HasNext (Type levelType) |
| Determines whether there is next level present of the specified levelType in level configuration (are there any other levels further ahead?) More...
|
|
static void | LoadNext () |
| Loads next level defined in level configuration. More...
|
|
static void | LoadNext (Type levelType) |
| Loads first level with type More...
|
|
static bool | HasPrevious () |
| Determines whether there is previous level present in level configuration (are there any other levels before this one?) More...
|
|
static bool | HasPrevious (Type levelType) |
| Determines whether there is previous level present of the specified levelType in level configuration (are there any other levels further ahead?) More...
|
|
static void | LoadPrevious () |
| Loads previous level defined in level configuration. More...
|
|
static void | LoadPrevious (Type levelType) |
| Loads first level with type More...
|
|
static bool | HasFirst () |
| Tells if there is at least one level set in active level configuration. More...
|
|
static bool | HasFirst (Type levelType) |
| Tells if there is at least one level of type More...
|
|
static void | LoadFirst () |
| Loads the first level set in level configuration. More...
|
|
static void | LoadFirst (Type levelType) |
| Loads the first level of type More...
|
|
static bool MadLevelManager.MadLevel.HasFirst |
( |
| ) |
|
|
static |
Tells if there is at least one level set in active level configuration.
- Returns
true
if there is at least one level configured; otherwise, false
.
static bool MadLevelManager.MadLevel.HasFirst |
( |
Type |
levelType | ) |
|
|
static |
Tells if there is at least one level of type
levelType
set in active level configuration.
- Parameters
-
levelType | Level type to find. |
- Returns
true
if there is at least one level of given type configured; otherwise, false
.
static bool MadLevelManager.MadLevel.HasNext |
( |
| ) |
|
|
static |
Determines whether there is next level present in level configuration (are there any other levels further ahead?)
- Returns
true
if next level is available; otherwise, false
.
static bool MadLevelManager.MadLevel.HasNext |
( |
Type |
levelType | ) |
|
|
static |
Determines whether there is next level present of the specified levelType in level configuration (are there any other levels further ahead?)
- Returns
true
if next level is present; otherwise, false
.
- Parameters
-
levelType | Type of next level to look after. |
static bool MadLevelManager.MadLevel.HasPrevious |
( |
| ) |
|
|
static |
Determines whether there is previous level present in level configuration (are there any other levels before this one?)
- Returns
true
if previous level is available; otherwise, false
.
static bool MadLevelManager.MadLevel.HasPrevious |
( |
Type |
levelType | ) |
|
|
static |
Determines whether there is previous level present of the specified levelType in level configuration (are there any other levels further ahead?)
- Returns
true
if previous level is present; otherwise, false
.
- Parameters
-
levelType | Type of previous level to look after. |
static void MadLevelManager.MadLevel.LoadFirst |
( |
| ) |
|
|
static |
Loads the first level set in level configuration.
static void MadLevelManager.MadLevel.LoadFirst |
( |
Type |
levelType | ) |
|
|
static |
Loads the first level of type
levelType
set in level configuration.
- Parameters
-
static void MadLevelManager.MadLevel.LoadLevelByName |
( |
string |
levelName | ) |
|
|
static |
Loads level by its name defined in level configuration.
- Parameters
-
static void MadLevelManager.MadLevel.LoadNext |
( |
| ) |
|
|
static |
Loads next level defined in level configuration.
static void MadLevelManager.MadLevel.LoadNext |
( |
Type |
levelType | ) |
|
|
static |
Loads first level with type
levelType
found after current level in level configuration.
- Parameters
-
levelType | Level type to load. |
static void MadLevelManager.MadLevel.LoadPrevious |
( |
| ) |
|
|
static |
Loads previous level defined in level configuration.
static void MadLevelManager.MadLevel.LoadPrevious |
( |
Type |
levelType | ) |
|
|
static |
Loads first level with type
levelType
found before current level in level configuration.
- Parameters
-
levelType | Level type to load. |
static void MadLevelManager.MadLevel.ReloadCurrent |
( |
| ) |
|
|
static |
Gets the active configuration.
The active configuration.
string MadLevelManager.MadLevel.arguments |
|
staticgetset |
Gets or sets this level arguments.
The arguments.
string MadLevelManager.MadLevel.currentLevelName |
|
staticgetset |
Gets the name of the current level.
The name of the current level.
bool MadLevelManager.MadLevel.hasActiveConfiguration |
|
staticget |
Gets a value indicating whether application has active configuration.
true
if has active configuration; otherwise, false
.
string MadLevelManager.MadLevel.lastLevelName |
|
staticgetset |
Gets or sets the name of the last visited level.
The name of the last visited level.
The documentation for this class was generated from the following file:
- Assets/Mad Level Manager/Scripts/Base/MadLevel.cs