キーに対する値を設定します
PlayerPrefs.SetString("Player Name", "Foobar");
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { PlayerPrefs.SetString("Player Name", "Foobar"); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: PlayerPrefs.SetString('Player Name', 'Foobar')