UnityEngine.PlayerPrefs.SetString C# (CSharp) Méthode

SetString() public static méthode

public static SetString ( string key, string value ) : void
key string
value string
Résultat void
		public static void SetString(string key, string value) { }
		public static string GetString(string key, string value) { return ""; }

Usage Example

Exemple #1
0
    static private void saveInput(int column)
    {
        string key = $"Input-{column}";

        try {
            string json = Input.axisToJson(column);
            PlayerPrefs.SetString(key, json);
        } catch (System.Exception) {
        }
    }
All Usage Examples Of UnityEngine.PlayerPrefs::SetString