Method RestoreLastSelectedEnvironment
RestoreLastSelectedEnvironment(String)
Returns the name of the last selected environment that is stored in EditorPrefs.
Declaration
public string RestoreLastSelectedEnvironment(string defaultEnvironment)
Parameters
| Type | Name | Description |
|---|---|---|
| String | defaultEnvironment | The default environment name to be returned if last selected environment is not found |
Returns
| Type | Description |
|---|---|
| String | Name of last selected environment or defaultEnvironment if last selected is not found |