PlayerPrefs.SetStringstatic function SetString (key : String, value : String) : voidDescriptionSets the value of the preference identified by key.
JavaScript
PlayerPrefs.SetString("Player Name", "Foobar"); using UnityEngine; import UnityEngine |
