GameObjectLifetimeScope
A class in Alta.LifetimeScopes, Alta.ATT.LifetimeScopes.
VContainer scope on a single game object. With autoInjectSelf on, the object it sits on gets its dependencies injected from the parent scope.
- Listed in Other Alta assemblies
- Inherits or implements
AbstractAltaLifetimeScope - Derived types
PlayerControllerLifetimeScope - Attributes
DisallowMultipleComponent - Documented in Event buses and services
Constructors
| Member | What it is |
|---|---|
GameObjectLifetimeScope() | Creates a GameObjectLifetimeScope with default values. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
protected override void ConfigureScope(IContainerBuilder builder) | If autoInjectSelf is on, adds this game object to the auto-inject list; warns if there is no parent scope. |