Version 3.1.1.0

EditorPrefEnum<T> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class EditorPrefEnum<T> : EditorPref<T>
Inheritance

Type Parameters

T

Constructors

EditorPrefEnum(String, T)
public EditorPrefEnum(string key, T defaultValue)
Parameters
System.String key

T defaultValue

Methods

GetValue(String, T)
protected override T GetValue(string key, T defaultValue)
Parameters
System.String key

T defaultValue

Returns
T

SetValue(String, T)
protected override void SetValue(string key, T value)
Parameters
System.String key

T value