All Preference options, via PrefOptionBase, implement this interface. It is used by the PrefOptionBaseEditorDrawingExtensions functions to draw any type of Preference, regardless of which IStorePreferences interface it uses.
- Template Parameters
-
| ValueType | the type of the values stored in the preference |
|
| void | Load () |
| | Loads the preference from storage- making it available for reach via the Value accessor.
|
| |
| void | Save () |
| | Save the last value written to storage.
|
| |
|
| bool | AlwaysLoadAndSaveOnValueAccess [get] |
| | specifies weather using the Value accessor will automatically load or save the value to the preference storage.
|
| |
| GUIContent | Label [get, set] |
| | Accessor to get and set the label assigned to the preference
|
| |
| ValueType | Value [get, set] |
| | Accessor to get and set the value assigned to the preference
|
| |