A class in Alta.LifetimeScopes, Alta.ATT.LifetimeScopes.
VContainer scope for the game scene. Registers the respawn system and, outside the tutorial scene, the domain controller and micro tutorial system.
Constructors
Fields
4 private and internal fields
| Member | What it is |
|---|
private DomainController domainController | The scene's domain controller. |
private bool isTutorialScene | True for the tutorial scene, which uses a default respawn provider and no micro tutorials. |
private MicroTutorialSystem microTutorialSystem | The scene's micro tutorial system. |
private RespawnSystem respawnSystem | The scene's respawn system. |
Methods
| Member | What it is |
|---|
protected override void ConfigureScope(IContainerBuilder builder) | Runs the static game setup, then registers respawn and micro tutorial services. |
2 private and internal methods
| Member | What it is |
|---|
private void RegisterMicroTutorialDependencies(IContainerBuilder builder) | Outside the tutorial scene, binds IDomainController and IMicroTutorialSystem to the scene objects. |
private void RegisterRespawnSystemDependencies(IContainerBuilder builder) | In the tutorial scene, binds a default respawn position provider; otherwise binds the scene's RespawnSystem. |