Class StringTableEntry
A StringTable entry.
Implements
Inherited Members
Namespace: UnityEngine.Localization.Tables
Assembly: Unity.Localization.dll
Syntax
public class StringTableEntry : TableEntry, IMetadataCollection
Properties
| Name | Description |
|---|---|
| FormatCache | Used when IsSmart is true and GetLocalizedString() is called. Contains information about the format including any IGlobalVariableValueChanged that were used. |
| IsSmart | Is the entry marked with the SmartFormatTag? Entries that are smart will use UnityEngine.Localization.SmartFormat to format the localized text. |
| Value | The raw localized value without any formatting applied. |
Methods
| Name | Description |
|---|---|
| GetLocalizedString() | Returns the localized text after formatting has been applied. This will use SmartFormat if IsSmart is true else it will return the raw unformatted value. |
| GetLocalizedString(IList<object>) | Returns the localized text after formatting has been applied. Formatting will use SmartFormat if IsSmart is true else it will default to String.Format. |
| GetLocalizedString(IFormatProvider, IList<object>) | Returns the localized text after formatting has been applied. Formatting will use SmartFormat is IsSmart is true else it will default to String.Format. |
| GetLocalizedString(IFormatProvider, IList<object>, PseudoLocale) | Returns the localized text after formatting has been applied. Formatting will use SmartFormat is IsSmart is true else it will default to String.Format. |
| GetLocalizedString(params object[]) | Returns the localized text after formatting has been applied. Formatting will use SmartFormat if IsSmart is true else it will default to String.Format. |
| RemoveFromTable() | Attempts to remove the entry from the StringTable that it belongs to. If Table is null then a warning will be produced. |