Cultures.GetCulture(string)
Method in Cultures
WARNING
This method is obsolete and may be removed from a future version of Yarn Spinner: Use TryGetCulture, which does not throw if the culture can’t be found.
Summary
Returns the Culture represented by the language code
in name .
public static Culture GetCulture(string name)Parameters
| Name | Description |
|---|---|
string name | The name of the Culture to retrieve. |
Returns
The Culture .