UnityToolbox
Brief documentation for all existing scripts.
 
Loading...
Searching...
No Matches
UnityToolbox.General.Preferences.ProjectPrefs Class Reference

Project preferences. Just like the PlayerPrefs but within the editor. These are stored within a created resource folder.

Static Public Member Functions

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.
 

Member Function Documentation

◆ GetString()

◆ SetString()

static void UnityToolbox.General.Preferences.ProjectPrefs.SetString ( string  key,
string  value 
)
static
Parameters
keyThe key, which indentifies the value. See ProjectPrefKeys for UnityToolbox internal use.
valueThe value to save.
Exceptions
ArgumentException

Referenced by UnityToolbox.General.Management.ResourcesUtil.TrySetValidPath().