|
static int | GetInt (string key, int defaultValue) |
|
static float | GetFloat (string key, float defaultValue) |
|
static string | GetString (string key, string defaultValue) |
|
static bool | HasKey (string key) |
|
static void | DeleteKey (string key) |
|
static void | DeleteAll () |
|
static void | Save () |
|
|
static void | SetInt (string key, int value) |
|
static int | GetInt (string key) |
|
static void | SetFloat (string key, float value) |
|
static float | GetFloat (string key) |
|
static void | SetString (string key, string value) |
|
static string | GetString (string key) |
|
Definition at line 7 of file PlayerPrefs.cs.
◆ DeleteAll()
static void FalcoEngine.PlayerPrefs.DeleteAll |
( |
| ) |
|
Removes all keys and values from the preferences. Use with caution.
◆ DeleteKey()
static void FalcoEngine.PlayerPrefs.DeleteKey |
( |
string |
key | ) |
|
Removes key and its corresponding value from the preferences.
- Parameters
-
◆ GetFloat() [1/2]
static float FalcoEngine.PlayerPrefs.GetFloat |
( |
string |
key | ) |
|
|
static |
Returns the value corresponding to key in the preference file if it exists.
- Parameters
-
Definition at line 75 of file PlayerPrefs.cs.
◆ GetFloat() [2/2]
static float FalcoEngine.PlayerPrefs.GetFloat |
( |
string |
key, |
|
|
float |
defaultValue |
|
) |
| |
Returns the value corresponding to key in the preference file if it exists.
- Parameters
-
◆ GetInt() [1/2]
static int FalcoEngine.PlayerPrefs.GetInt |
( |
string |
key | ) |
|
|
static |
Returns the value corresponding to key in the preference file if it exists.
- Parameters
-
Definition at line 44 of file PlayerPrefs.cs.
◆ GetInt() [2/2]
static int FalcoEngine.PlayerPrefs.GetInt |
( |
string |
key, |
|
|
int |
defaultValue |
|
) |
| |
Returns the value corresponding to key in the preference file if it exists.
- Parameters
-
◆ GetString() [1/2]
static string FalcoEngine.PlayerPrefs.GetString |
( |
string |
key | ) |
|
|
static |
Returns the value corresponding to key in the preference file if it exists.
- Parameters
-
Definition at line 106 of file PlayerPrefs.cs.
◆ GetString() [2/2]
static string FalcoEngine.PlayerPrefs.GetString |
( |
string |
key, |
|
|
string |
defaultValue |
|
) |
| |
Returns the value corresponding to key in the preference file if it exists.
- Parameters
-
◆ HasKey()
static bool FalcoEngine.PlayerPrefs.HasKey |
( |
string |
key | ) |
|
Returns true if key exists in the preferences.
- Parameters
-
◆ Save()
static void FalcoEngine.PlayerPrefs.Save |
( |
| ) |
|
Writes all modified preferences to disk.
◆ SetFloat()
static void FalcoEngine.PlayerPrefs.SetFloat |
( |
string |
key, |
|
|
float |
value |
|
) |
| |
|
static |
Sets the value of the preference identified by key.
- Parameters
-
Definition at line 54 of file PlayerPrefs.cs.
◆ SetInt()
static void FalcoEngine.PlayerPrefs.SetInt |
( |
string |
key, |
|
|
int |
value |
|
) |
| |
|
static |
Sets the value of the preference identified by key.
- Parameters
-
Definition at line 23 of file PlayerPrefs.cs.
◆ SetString()
static void FalcoEngine.PlayerPrefs.SetString |
( |
string |
key, |
|
|
string |
value |
|
) |
| |
|
static |
Sets the value of the preference identified by key.
- Parameters
-
Definition at line 85 of file PlayerPrefs.cs.
The documentation for this class was generated from the following file: