コード例 #1
0
 /// <summary>
 /// Wrapper for the same method in PlayerPrefs but works with encrypted player prefs.
 /// </summary>
 public void DeleteKey(string key, bool?useSecurePrefs = null)
 {
     SecurePlayerJSONPrefs.DeleteKey(key, useSecurePrefs);
 }
コード例 #2
0
 /// <summary>
 /// Wrapper for the same method in PlayerPrefs but works with encrypted player prefs.
 /// </summary>
 public float GetFloat(string key, float defaultValue = 0.0f, bool?useSecurePrefs = null)
 {
     return(SecurePlayerJSONPrefs.GetFloat(key, defaultValue, useSecurePrefs));
 }
コード例 #3
0
 /// <summary>
 /// Wrapper for the same method in PlayerPrefs but works with encrypted player prefs.
 /// </summary>
 public void SetString(string key, string value, bool?useSecurePrefs = null)
 {
     SecurePlayerJSONPrefs.SetString(key, value, useSecurePrefs);
 }
コード例 #4
0
 /// <summary>
 /// Wrapper for the same method in PlayerPrefs but works with encrypted player prefs.
 /// </summary>
 public void DeleteAll()
 {
     SecurePlayerJSONPrefs.DeleteAll();
 }
コード例 #5
0
 /// <summary>
 /// Wrapper for the same method in PlayerPrefs but works with encrypted player prefs.
 /// </summary>
 public void SetInt(string key, int value, bool?useSecurePrefs = null)
 {
     SecurePlayerJSONPrefs.SetInt(key, value, useSecurePrefs);
 }
コード例 #6
0
 /// <summary>
 /// Wrapper for the same method in PlayerPrefs but works with encrypted player prefs.
 /// </summary>
 public void Save()
 {
     SecurePlayerJSONPrefs.Save();
 }
コード例 #7
0
 /// <summary>
 /// Wrapper for the same method in PlayerPrefs but works with encrypted player prefs.
 /// </summary>
 public bool HasKey(string key, bool?useSecurePrefs = null)
 {
     return(SecurePlayerJSONPrefs.HasKey(key, useSecurePrefs));
 }
コード例 #8
0
 /// <summary>
 /// Wrapper for the same method in PlayerPrefs but works with encrypted player prefs.
 /// </summary>
 public string GetString(string key, string defaultValue = "", bool?useSecurePrefs = null)
 {
     return(SecurePlayerJSONPrefs.GetString(key, defaultValue, useSecurePrefs));
 }
コード例 #9
0
 /// <summary>
 /// Wrapper for the same method in PlayerPrefs but works with encrypted player prefs.
 /// </summary>
 public int GetInt(string key, int defaultValue = 0, bool?useSecurePrefs = null)
 {
     return(SecurePlayerJSONPrefs.GetInt(key, defaultValue, useSecurePrefs));
 }