EditorPrefs.SetBool Manual     Reference     Scripting  
Scripting > Editor Classes > EditorPrefs
EditorPrefs.SetBool

static function SetBool (key : string, value : bool) : void

Description

Sets the value of the preference identified by key.

EditorPrefs.SetBool("My Pref Value", true);