Version 3.3.1.2

ProjectSettingEnum<T> class

Namespace: Sirenix.OdinInspector.Editor.Internal
Assembly: Sirenix.OdinInspector.Editor
public class ProjectSettingEnum<T> : ProjectSetting<T>, IProjectSetting where T : struct
Inheritance

Type Parameters

T

Constructors

ProjectSettingEnum()
public ProjectSettingEnum()

Methods

Draw(Rect, T, GUIContent)
protected override T Draw(Rect rect, T value, GUIContent label)
Parameters
UnityEngine.Rect rect

T value

UnityEngine.GUIContent label

Returns
T

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

T defaultValue

Returns
T

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

T value