Skip to main content

GlobalSettingsInstaller.PlatformConstrainedInstallers

A private class in Alta.LifetimeScopes, Alta.ATT.LifetimeScopes. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

A group of PlatformSpecificScriptableObjectInstaller assets that only run on the chosen platforms, and optionally in the editor.

Constructors​

MemberWhat it is
PlatformConstrainedInstallers()Creates a GlobalSettingsInstaller.PlatformConstrainedInstallers with default values.

Fields​

3 private and internal fields
MemberWhat it is
private PlatformSpecificScriptableObjectInstaller[] installersThe installers in this group.
private bool isValidInEditorWhether the group also runs in the Unity editor.
private PlatformFlags validPlatformsPlatforms the group runs on.

Methods​

MemberWhat it is
void Install(IContainerBuilder builder)Runs each installer in the group if the current runtime platform matches or the editor is allowed.
1 private and internal method
MemberWhat it is
private bool IsValidIfInEditor()True in the editor when isValidInEditor is set.

Used in​

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