PlayerControllerLifetimeScope
A class in Alta.LifetimeScopes, Alta.ATT.LifetimeScopes.
VContainer scope on a player controller. Injects the object like GameObjectLifetimeScope and registers its multi-lock model.
- Listed in Other Alta assemblies
- Inherits or implements
GameObjectLifetimeScope - Attributes
DisallowMultipleComponent - Documented in Event buses and services
Constructors
| Member | What it is |
|---|---|
PlayerControllerLifetimeScope() | Creates a PlayerControllerLifetimeScope with default values. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private MonoBehaviour concretePlayerControllerMultiLockModel | Component that should implement IPlayerControllerMultiLockModel. |
Methods
| Member | What it is |
|---|---|
protected override void ConfigureScope(IContainerBuilder builder) | Runs the base setup, then registers the multi-lock model. |
1 private and internal method
| Member | What it is |
|---|---|
private void RegisterControlSafetyLockModel(IContainerBuilder builder) | Binds IPlayerControllerMultiLockModel to the assigned component, or to a FakePlayerControllerMultiLockModel if it isn't one. |