Localization

Class in Yarn.Unity

Inherits from UnityEngine.ScriptableObject

Summary

public class Localization : ScriptableObject

Classes

NameDescription
LocalizationTableEntry

Methods

NameDescription
AddLocalizedString(string,string)Adds a new string to the runtime string table.
AddLocalizedStrings(IEnumerable<KeyValuePair<string, string>>)Adds a collection of strings to the runtime string table.
AddLocalizedStrings(IEnumerable)Adds a collection of strings to the runtime string table.
Clear()
ContainsLocalizedObject(string)
ContainsLocalizedString(string)Returns a boolean value indicating whether this Localization contains a string with the given key.
GetLineIDs()Gets the line IDs present in this localization.
GetLocalizedObjectAsync(string)
GetLocalizedString(string)

Properties

NameDescription
UsesAddressableAssetsGets a value indicating whether this Localization makes use of Addressable Assets ( true ), or if it stores its assets as direct references ( false ).