UnityEngine.PlayerPrefs.SetString C# (CSharp) 메소드

SetString() 공개 정적인 메소드

public static SetString ( string key, string value ) : void
key string
value string
리턴 void
		public static void SetString(string key, string value) { }
		public static string GetString(string key, string value) { return ""; }

Usage Example

예제 #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