PlayerPrefs.SetFloatstatic function SetFloat (key : String, value : float) : voidDescriptionSets the value of the preference identified by key.
JavaScript
PlayerPrefs.SetFloat("Player Score", 10.0); using UnityEngine; import UnityEngine |
