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.
- Listed in Other Alta assemblies
- Inherits or implements
ScriptableObject - Nested types
PlatformConstrainedInstallers
Constructors
| Member | What it is |
|---|---|
GlobalSettingsInstaller() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private List<GlobalSettings> globalSettings | Global settings assets to initialise and register. |
private GlobalSettingsInstaller.PlatformConstrainedInstallers[] platformSpecificInstallers | Groups of installers, each limited to some platforms. |
Methods
| Member | What 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: