Yarn Spinner
2.2 (Current)
Search…
⌃K
Links

Culture

Struct in Yarn.Unity
Inherits from System.ValueType

Summary

Holds information about a language.
public struct Culture

Fields

Name
Description
The display name of a language. Will be "German (Switzerland)" for "de-CH". Use this value to present the language in an English UI.
Name
The unique language ID used to identify a language as RFC 4646. Will be "de-CH" for "German (Switzerland)". Use this for storing settings or identifying a language.
The languages name as called in the language itself. Will be "Deutsch (Schweiz) for "de-CH". Use this to present the language in-game so people can find their native language.