Skip to main content

GlobalSettingsInstaller

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

ScriptableObject that runs platform-specific installers and registers a list of GlobalSettings assets in a VContainer scope.

Constructors​

MemberWhat it is
GlobalSettingsInstaller()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private List<GlobalSettings> globalSettingsGlobal settings assets to initialise and register.
private GlobalSettingsInstaller.PlatformConstrainedInstallers[] platformSpecificInstallersGroups of installers, each limited to some platforms.

Methods​

MemberWhat it is
void Install(IContainerBuilder builder)Runs the installers for the current platform, then initialises each global settings asset and registers it as its own type.

Used in​

Members of other types that take, return or hold a GlobalSettingsInstaller: