Version: 5.3
public static void SetInt (string key, int value);

설명

Sets the value of the preference identified by key.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { PlayerPrefs.SetInt("Player Score", 10); } }