Version: 2017.1
public static void SetString (string key, string value);

Descripción

Sets the value of the preference identified by key.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { PlayerPrefs.SetString("Player Name", "Foobar"); } }