PlayerPrefs.SetFloat

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

Description

Sets the value of the preference identified by key.

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