Skip to main content

GlobalSettings

An abstract class in Alta.Global.Runtime, Alta.Global.

Base of every global settings asset. The generic GlobalSettings<T> gives each one a static Instance; the settings installer calls InitializeInstance at startup.

Constructors​

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

Methods​

MemberWhat it is
abstract void InitializeInstance()Makes this asset the type's static Instance. Called by GlobalSettingsInstaller and GlobalSettingsInitializer.

Used in​

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