Class UserSetting<T>
Wrapper for defining IET Preferences (User Settings) conveniently.
Inherited Members
Namespace: Unity.Tutorials.Core.Editor
Syntax
public class UserSetting<T> : BaseSetting<T>, IUserSetting
Type Parameters
Name | Description |
---|---|
T |
Constructors
UserSetting(String, String, T, String)
Constructs the setting.
Declaration
public UserSetting(string key, string name, T value, string tooltip = null)
Parameters
Type | Name | Description |
---|---|---|
String | key | Key for the JSON file. |
String | name | Use Tr() in order to have localization support. |
T | value | |
String | tooltip | Use Tr() in order to have localization support. |