All pages
Powered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Name

Field in

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.

public string Name;

Summary

Culture

Culture

Struct in Yarn.Unity

Inherits from System.ValueType

Summary

Holds information about a language.

public struct Culture

Constructors

Name
Description

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.

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.

Culture(System.Globalization.CultureInfo)

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.

DisplayName
IsNeutralCulture
Name
NativeName

DisplayName

Field in

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

public string DisplayName;

Summary

Culture

IsNeutralCulture

Field in

public bool IsNeutralCulture;

Summary

Culture

NativeName

Field in

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.

public string NativeName;

Summary

Culture

Culture(System.Globalization.CultureInfo)

Constructor in

Name
Description
public Culture(System.Globalization.CultureInfo cultureInfo)

System.Globalization.CultureInfo cultureInfo

Summary

Parameters

Culture