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

NameDescription
string nameThe name of the Culture to retrieve.

Returns

The Culture .