ProjectSettingsSet
- Namespace: Turian.Engine.Core
- Source File: ProjectSettingsSet.cs
The settings assets a project has in force, one per type. A type the project does not list reads as a fresh instance of itself, so its declared defaults apply until someone authors the asset.
Public Methods
Get
public T Get()
The settings of one kind, or its defaults when the project lists none.
Returns: T
- The same instance on every call until
Usereplaces it.
Use
public void Use(ProjectSettingsAsset settings)
Puts a loaded settings asset in force, replacing whatever its kind held.
Parameters:
settings(ProjectSettingsAsset): The loaded asset.
UseAll
public void UseAll(ProjectSettingsSet other)
Copies every kind another set holds into this one.
Parameters:
other(ProjectSettingsSet): The set to copy from.
Clear
public void Clear()
Forgets every kind, so each reads as its defaults again.