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

static function SetFloat (key : string, value : float) : void

Description

Sets the value of the preference identified by key.

print (EditorPrefs.SetFloat("My Pref Value", 10.0));