Méthode | Description | |
---|---|---|
DefaultLevelManager ( IKernel kernel, INode currentNode ) : System | ||
Load ( object context, LevelAsset levelAsset ) : void |
Loads a level entity into the game hierarchy, with the specified context as the place to load entities. Normally you'll pass in the game world here, but you don't have to. For example, if you wanted to load the level into an entity group, you would pass the entity group as the context instead.
|
|
Load ( object context, LevelAsset levelAsset, Func |
||
LoadAsync ( object context, LevelAsset levelAsset ) : Task | ||
LoadAsync ( object context, LevelAsset levelAsset, Func |
Méthode | Description | |
---|---|---|
Load ( IWorld world, string name ) : void |
public DefaultLevelManager ( IKernel kernel, INode currentNode ) : System | ||
kernel | IKernel | |
currentNode | INode | |
Résultat | System |
public Load ( object context, LevelAsset levelAsset ) : void | ||
context | object | Usually the current game world, but can be any object in the hierarchy. |
levelAsset | LevelAsset | The level to load. |
Résultat | void |
public Load ( object context, LevelAsset levelAsset, Func |
||
context | object | |
levelAsset | LevelAsset | |
filter | Func |
|
Résultat | void |
public LoadAsync ( object context, LevelAsset levelAsset ) : Task | ||
context | object | |
levelAsset | LevelAsset | |
Résultat | Task |
public LoadAsync ( object context, LevelAsset levelAsset, Func |
||
context | object | |
levelAsset | LevelAsset | |
filter | Func |
|
Résultat | Task |