Skip to main content

DependencyInjectionInitializer

A class in Alta.LifetimeScopes, Alta.ATT.LifetimeScopes.

Runs very early (execution order -15000) and creates the project lifetime scope in built players.

Constructors​

MemberWhat it is
DependencyInjectionInitializer()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private ProjectLifetimeScope projectLifetimeScopeThe project lifetime scope prefab.

Methods​

1 private and internal method
MemberWhat it is
private void Awake()Instantiates the project lifetime scope, except in the editor.