LogoLogo
Ctrlk
HomepageDiscordItchPatreonAsset Store
  • ⭐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
  • 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
  • API Documentation
    • C#
      • Yarn Namespace
      • Yarn.Markup Namespace
      • Yarn.Compiler Namespace
      • Yarn.Compiler.Upgrader Namespace
      • Yarn.Unity Namespace
        • AssemblyExtensions
        • AudioLineProvider
        • AudioLocalizedLine
        • CharacterColorView
        • Culture
        • Cultures
        • DialogueCharacterNameView
        • DialogueOption
        • DialogueRunner
        • DialogueViewBase
        • Effects
        • FindVoiceOver
        • InMemoryVariableStorage
        • InterruptionFlag
        • LanguageAttribute
        • LineProviderBehaviour
        • LineView
        • Localization
          • AddLocalizedObject(string,T)
          • AddLocalizedObjects(IEnumerable<KeyValuePair<string, T>>)
          • AddLocalizedString(string,string)
          • AddLocalizedStrings(IEnumerable<KeyValuePair<string, string>>)
          • AddLocalizedStrings(IEnumerable<StringTableEntry>)
          • Clear()
          • ContainsLocalizedObject(string)
          • ContainsLocalizedString(string)
          • GetLineIDs()
          • GetLocalizedObject(string)
          • GetLocalizedString(string)
          • SetLocalizedObject(string,T)
          • ContainsLocalizedAssets
          • LocaleCode
          • UsesAddressableAssets
        • LocalizedLine
        • OptionsListView
        • OptionView
        • SampleRenderDetector
        • SerializedDictionary
        • StringTableEntry
        • TextLineProvider
        • VariableStorageBehaviour
        • VoiceOverPlaybackUnity
        • YarnActionAttribute
        • YarnCommandAttribute
        • YarnFunctionAttribute
        • YarnLinesAsCanvasText
        • YarnParameterAttribute
        • YarnProject
        • YarnStateInjectorAttribute
Powered by GitBook
On this page
  • Summary
  • Methods
  • Properties

Was this helpful?

Edit
  1. API Documentation
  2. C#
  3. Yarn.Unity Namespace

Localization

Class in Yarn.Unity

Inherits from ScriptableObject

Summary

public class Localization : ScriptableObject

Methods

Name
Description

AddLocalizedObject(string,T)

AddLocalizedObjects(IEnumerable<KeyValuePair<string, T>>)

AddLocalizedString(string,string)

AddLocalizedStrings(IEnumerable<KeyValuePair<string, string>>)

AddLocalizedStrings(IEnumerable)

Clear()

ContainsLocalizedObject(string)

ContainsLocalizedString(string)

GetLineIDs()

Gets the line IDs present in this localization.

GetLocalizedObject(string)

GetLocalizedString(string)

SetLocalizedObject(string,T)

Properties

Name
Description

ContainsLocalizedAssets

LocaleCode

UsesAddressableAssets

PreviousUpdate()NextAddLocalizedObject(string,T)

Last updated 3 years ago

Was this helpful?