Skip to content

Latest commit

 

History

History

yarn.unity.localization

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Localization

Class in Yarn.Unity

Inherits from UnityEngine.ScriptableObject

Summary

public class Localization : ScriptableObject

Methods

Name Description
AddLocalizedObject(string,T)
AddLocalizedObjects(IEnumerable<KeyValuePair<string, T>>)
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.
GetLocalizedObject(string)
GetLocalizedString(string)
SetLocalizedObject(string,T)

Properties

Name Description
ContainsLocalizedAssets Gets a value indicating whether this Localization contains assets that are linked to strings.
LocaleCode
UsesAddressableAssets Gets a value indicating whether this Localization makes use of Addressable Assets ( true ), or if it stores its assets as direct references ( false ).