PlayerPrefs.SetFloat Manual     Reference     Scripting  
Scripting > Runtime Classes > PlayerPrefs
PlayerPrefs.SetFloat

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

Description

Sets the value of the preference identified by key.

print (PlayerPrefs.SetFloat("Player Score", 10.0));