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

static function SetInt (key : string, value : int) : void

Description

Sets the value of the preference identified by key.

EditorPrefs.SetInt("My Pref Value", 10);