Skip to main content

GlobalSettingsAttribute

A class in Alta.Global.Runtime, Alta.Global.

Marks a GlobalSettings class with the name of its settings asset, for example [GlobalSettings("Mining Settings")].

Constructors​

MemberWhat it is
GlobalSettingsAttribute(string filePath)Creates a GlobalSettingsAttribute from filePath.

Properties​

MemberWhat it is
string FilePath { get; }Name or path of the settings asset. Nothing in the server build reads it, so probably editor only.