Cultures.TryGetCulture(string,Culture)
Method in Cultures
Summary
Gets the Culture represented by the language code in
name .
public static bool TryGetCulture(string name, out Culture culture)Parameters
| Name | Description |
|---|---|
string name | The name of the Culture to retrieve. |
| Yarn.Unity.Culture culture | On return, the Culture if one was found, or a default Culture if otherwise. |
Returns
true if a Culture was found; false otherwise.