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

static function SetString (key : string, value : string) : void

Description

Sets the value of the preference identified by key.

EditorPrefs.SetString("My Pref Value", "Foobar");