GetString(string, string)
Retrieve a String value.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static string GetString(string key, string defaultValue)
Parameters
Returns
Type | Description |
|---|---|
| string |
Remarks
Due to the behavior of Unity's serialization system, returns an empty string instead of when no string value is stored for the key, even if you specify as the .
SessionState.GetStringnullnulldefaultValue