Struct EditorPrefBool
Bool saved in EditorPref.
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public struct EditorPrefBool
Constructors
EditorPrefBool(string, bool)
Constructor
Declaration
public EditorPrefBool(string key, bool defaultValue = false)
Parameters
Type | Name | Description |
---|---|---|
string | key | Key in the editor preferences. |
bool | 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 |
---|---|
bool |