Interface ISettingsRepository
A settings repository is responsible for implementing the saving and loading of values.
Namespace: UnityEditor.SettingsManagement
Assembly: solution.dll
Syntax
public interface ISettingsRepository
Properties
Name | Description |
---|---|
name | A name to identify this repository. |
path | |
scope |
Methods
Name | Description |
---|---|
ContainsKey<T>(string) | Does the repository contain a setting with key and type. |
Get<T>(string, T) | Get a value with key of type T, or return the fallback value if no matching key is found. |
Remove<T>(string) | Remove a key value pair from the settings repository. |
Save() | Save all settings to their serialized state. |
Set<T>(string, T) | Set a value for key of type T. |