Struct EditorPrefBool
Bool saved in EditorPref.
Inherited Members
Namespace: UnityEditor.Rendering
Syntax
public struct EditorPrefBoolConstructors
EditorPrefBool(String, Boolean)
Constructor
Declaration
public EditorPrefBool(string key, bool defaultValue = false)Parameters
| Type | Name | Description | 
|---|---|---|
| String | key | Key in the editor preferences. | 
| Boolean | defaultValue | Default value of the preference. | 
Properties
value
Value of the boolean in editor preferences.
Declaration
public bool value { get; set; }Property Value
| Type | Description | 
|---|---|
| Boolean |