An abstract class in Root.Township, Alta.Caves.
Base for the cave settings assets (GeneralSettings, BiomeSettings, StreamingSettings). Each is a singleton loaded from Resources/Caves/Settings.
Constructors
| Member | What it is |
|---|
protected CaveSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
| Member | What it is |
|---|
private static T instance | Cached asset behind Instance. |
Properties
| Member | What it is |
|---|
static T Instance { get; } | The settings asset of this type, loaded from Resources/Caves/Settings on first use. |