Localization
Class in Yarn.Unity
Inherits from UnityEngine.ScriptableObject
Summary
public class Localization : ScriptableObjectClasses
| Name | Description |
|---|---|
| LocalizationTableEntry |
Methods
| Name | Description |
|---|---|
| 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 | |
| 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 | |
| GetLocalizedString(string) |
Properties
| Name | Description |
|---|---|
| UsesAddressableAssets | Gets a value indicating whether this Localization makes use of Addressable Assets ( true ), or if it stores its assets as direct references ( false ). |