Class Settings
Settings manages a collection of ISettings
Inherited Members
Namespace: UnityEditor .SettingsManagement
Assembly: solution.dll
Syntax
public sealed class Settings
Constructors
Name | Description |
---|---|
Settings(IEnumerable<ISettings |
Create a new Settings instance with a collection of ISettings |
Settings(string, string) | Create a new Settings instance with a User |
Methods
Name | Description |
---|---|
Contains |
Does the repository contain a setting with key and type. |
Contains |
Does the repository contain a setting with key and type. |
Delete |
Remove a key value pair from a settings repository. |
Delete |
Remove a key value pair from a settings repository. |
Get |
Find a settings repository that matches the requested scope. |
Get |
Find a settings repository that matches the requested scope and name. |
Get<T>(string, string, Settings |
Get a value with key of type T, or return the fallback value if no matching key is found. |
Get<T>(string, Settings |
Get a value with key of type T, or return the fallback value if no matching key is found. |
Save() | Serialize the state of all settings repositories. |
Set<T>(string, T, string, Settings |
Set a value for key of type T. |
Set<T>(string, T, Settings |
Set a value for key of type T. |
Events
Name | Description |
---|---|
after |
|
before |