Yarn Spinner
2.2 (Current)
Website
Discord
GitHub
Patreon
Search
⌃K
Links
⭐
Start Here
Writing Your Dialogue
⌨
Editing with VS Code
✍
Writing in Yarn
🪄
Upgrading Yarn Scripts
Working With Unity
Overview
📦
Installation
⚡
Quick Start
📥
Importing Yarn Files
🧱
Components
🤖
Commands and Functions
🗺
Localizations and Assets
💡
Frequently Asked Questions / "How Do I...?"
Unity Sample Projects
🛠
Choose-Your-Path Game
🛠
Choose-Your-Path Game with Visuals
🛠
NPC Dialogue Game
Guides
🗃
Yarn Variables and Variable Storage
About
The Team
GitHub Repositories
Community Projects
How to credit Yarn Spinner
API Documentation
C#
Yarn Namespace
Yarn.Markup Namespace
Yarn.Compiler Namespace
Yarn.Compiler.Upgrader Namespace
Yarn.Unity Namespace
AssemblyExtensions
AudioLineProvider
AudioLocalizedLine
CharacterColorView
Culture
Cultures
GetCulture(string)
GetCultures()
HasCulture(string)
DialogueAdvanceInput
DialogueCharacterNameView
DialogueOption
DialogueReference
DialogueRunner
DialogueViewBase
Effects
InMemoryVariableStorage
LanguageAttribute
LineMetadata
LineProviderBehaviour
LineView
Localization
LocalizedLine
OptionsListView
OptionView
SampleRenderDetector
SerializedDictionary
StringTableEntry
TextLineProvider
VariableStorageBehaviour
VoiceOverView
YarnActionAttribute
YarnCommandAttribute
YarnFunctionAttribute
YarnLinesAsCanvasText
YarnParameterAttribute
YarnProject
YarnStateInjectorAttribute
Powered By
GitBook
GetCulture(string)
Method in
Cultures
Summary
Returns the
Culture
represented by the language code in
name
.
public
static
Culture
GetCulture
(
string
name
)
Parameters
Name
Description
string
name
The name of the
Culture
to retrieve.
Returns
The
Culture
.
Previous
Cultures
Next
GetCultures()
Last modified
1yr ago