Wrapper for the PlayerPrefs. More...
Static Public Member Functions | |
static bool | HasKey (string key) |
Exists the key? More... | |
static void | DeleteAll () |
Deletes all keys. More... | |
static void | DeleteKey (string key) |
Delete the key. More... | |
static void | Save () |
Saves all modifications. More... | |
static string | GetString (string key) |
Allows to get a string from a key. More... | |
static float | GetFloat (string key) |
Allows to get a float from a key. More... | |
static int | GetInt (string key) |
Allows to get an int from a key. More... | |
static bool | GetBool (string key) |
Allows to get a bool from a key. More... | |
static System.DateTime | GetDate (string key) |
Allows to get a DateTime from a key. More... | |
static Vector2 | GetVector2 (string key) |
Allows to get a Vector2 from a key. More... | |
static Vector3 | GetVector3 (string key) |
Allows to get a Vector3 from a key. More... | |
static Vector4 | GetVector4 (string key) |
Allows to get a Vector4 from a key. More... | |
static Quaternion | GetQuaternion (string key) |
Allows to get a Quaternion from a key. More... | |
static Color | GetColor (string key) |
Allows to get a Color from a key. More... | |
static SystemLanguage | GetLanguage (string key) |
Allows to get a SystemLanguage from a key. More... | |
static void | SetString (string key, string value) |
Allows to set a string for a key. More... | |
static void | SetFloat (string key, float value) |
Allows to set a float for a key. More... | |
static void | SetInt (string key, int value) |
Allows to set an int for a key. More... | |
static void | SetBool (string key, bool value) |
Allows to set a bool for a key. More... | |
static void | SetDate (string key, System.DateTime value) |
Allows to set a DateTime for a key. More... | |
static void | SetVector2 (string key, Vector2 value) |
Allows to set a Vector2 for a key. More... | |
static void | SetVector3 (string key, Vector3 value) |
Allows to set a Vector3 for a key. More... | |
static void | SetVector4 (string key, Vector4 value) |
Allows to set a Vector4 for a key. More... | |
static void | SetQuaternion (string key, Quaternion value) |
Allows to set a Quaternion for a key. More... | |
static void | SetColor (string key, Color value) |
Allows to set a Color for a key. More... | |
static void | SetLanguage (string key, SystemLanguage language) |
Allows to set a SystemLanguage for a key. More... | |
Detailed Description
Wrapper for the PlayerPrefs.
Member Function Documentation
◆ DeleteAll()
|
static |
Deletes all keys.
◆ DeleteKey()
|
static |
Delete the key.
- Parameters
-
key Key to delete in the PlayerPrefs.
◆ GetBool()
|
static |
Allows to get a bool from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetColor()
|
static |
Allows to get a Color from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetDate()
|
static |
Allows to get a DateTime from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetFloat()
|
static |
Allows to get a float from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetInt()
|
static |
Allows to get an int from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetLanguage()
|
static |
Allows to get a SystemLanguage from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetQuaternion()
|
static |
Allows to get a Quaternion from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetString()
|
static |
Allows to get a string from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetVector2()
|
static |
Allows to get a Vector2 from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetVector3()
|
static |
Allows to get a Vector3 from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ GetVector4()
|
static |
Allows to get a Vector4 from a key.
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ HasKey()
|
static |
Exists the key?
- Parameters
-
key Key for the PlayerPrefs.
- Returns
- Value for the key.
◆ Save()
|
static |
Saves all modifications.
◆ SetBool()
|
static |
Allows to set a bool for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
◆ SetColor()
|
static |
Allows to set a Color for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
◆ SetDate()
|
static |
Allows to set a DateTime for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
◆ SetFloat()
|
static |
Allows to set a float for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
◆ SetInt()
|
static |
Allows to set an int for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
◆ SetLanguage()
|
static |
Allows to set a SystemLanguage for a key.
- Parameters
-
key Key for the PlayerPrefs. language Value for the PlayerPrefs.
◆ SetQuaternion()
|
static |
Allows to set a Quaternion for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
◆ SetString()
|
static |
Allows to set a string for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
◆ SetVector2()
|
static |
Allows to set a Vector2 for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
◆ SetVector3()
|
static |
Allows to set a Vector3 for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
◆ SetVector4()
|
static |
Allows to set a Vector4 for a key.
- Parameters
-
key Key for the PlayerPrefs. value Value for the PlayerPrefs.
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/Common/Scripts/Util/CTPlayerPrefs.cs