Pardon our dust! Docs for Yarn Spinner for Unity 3.2 and Yarn Spinner for Godot C# are on docs.yarnspinner.dev (the old docs site). Docs for Yarn Spinner for Unity 3.3 (pre-release, out ASAP), Yarn Spinner for Godot GDScript and Yarn Spinner for Unreal Engine (work in progress) are on /docs/ (the new docs site).

Culture

Holds information about a language.
public struct Culture

Inherits from System.ValueType

#Constructors

#Culture(System.Globalization.CultureInfo)

public Culture(System.Globalization.CultureInfo cultureInfo)

Parameters

  • cultureInfoSystem.Globalization.CultureInfo

#Fields

#DisplayName

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;

Type String

#IsNeutralCulture

Is the locale a neutral culture (so a language that isn't tied specifically to a region or people) as is defined in the spec
public bool IsNeutralCulture;

Type Boolean

#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.
public string Name;

Type String

#NativeName

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;

Type String

Generated from Yarn Spinner for Unity 3.3.