Version 3.3.1.2

ProjectSettingBool class

Namespace: Sirenix.OdinInspector.Editor.Internal
Assembly: Sirenix.OdinInspector.Editor
public sealed class ProjectSettingBool : ProjectSetting<bool>, IProjectSetting
Inheritance

Constructors

ProjectSettingBool()
public ProjectSettingBool()

Methods

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

System.Boolean value

UnityEngine.GUIContent label

Returns
System.Boolean

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

System.Boolean defaultValue

Returns
System.Boolean

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

System.Boolean value