Culture

Struct in Yarn.Unity

Inherits from System.ValueType

Summary

Holds information about a language.

public struct Culture

Constructors

Fields

NameDescription

The display name of a language. Will be "German (Switzerland)" for "de-CH". Use this value to present the language in an English UI.

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.

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.