Method GetString
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
GetString(string, string, string)
Gets a string preference.
public static string GetString(string scope, string key, string defaultValue = "")
Parameters
scopestringThe scope namespace.
keystringThe key within the scope.
defaultValuestringThe value to return if the key does not exist.
Returns
- string
The stored value, or
defaultValueif not found.