Project preferences. Just like the PlayerPrefs but within the editor. These are stored within a created resource folder.
|
static void | SetString (string key, string value) |
| Saves a string value to the project prefs.
|
|
static string | GetString (string key) |
| Reads a string value from the project prefs.
|
|
◆ GetString()
static string ProjectPrefs.GetString |
( |
string |
key | ) |
|
|
static |
◆ SetString()
static void ProjectPrefs.SetString |
( |
string |
key, |
|
|
string |
value |
|
) |
| |
|
static |
- Parameters
-
key | The key, which indentifies the value. See ProjectPrefKeys for UnityToolbox internal use. |
value | The value to save. |
- Exceptions
-
Referenced by ResourcesUtil.TrySetValidPath().