Class TableEntry
Player version of a table entry that can contain additional data that is not serialized.
Implements
Namespace: UnityEngine .Localization.Tables
Assembly: Unity.Localization.dll
Syntax
public class TableEntry : IMetadataCollection
Properties
Name | Description |
---|---|
Key | The Key or Name of this table entry that is stored in Shared |
Key |
Key Id for this table entry. |
Localized |
Raw localized value. |
Metadata |
The Metadata for this table entry. |
Shared |
The shared table entry contains information for all locales, this is taken from Shared |
Table | The table that this entry is part of. |
Methods
Name | Description |
---|---|
Add |
Add an entry to Metadata |
Add |
SharedTableCollectionMetadata is Metadata that can be applied to multiple table entries in a table collection.
The Metadata is stored in the Shared |
Add |
SharedTableEntryMetadata is Metadata that can be shared across multiple entries in a single table.
The instance reference will be stored in Table |
Add |
Tags are Metadata that can be shared across multiple table entries,
they are often used to indicate an entry has a particular attribute or feature, e.g SmartFormat.
Generally Tags do not contains data, for sharing data across multiple table entries see Add |
Contains(IMetadata) | Checks if the Metadata is contained within Metadata |
Get |
Returns the first Metadata item from Metadata |
Get |
Returns all Metadata from Metadata |
Get |
Populates the list with all Metadata from Metadata |
Has |
Returns true if any tag metadata of type TShared contains this entry. |
Remove |
Remove an entry from Metadata |
Remove |
Removes the entry from the Shared Metadata and removes it from the
Shared |
Remove |
Removes the entry from the shared Metadata in the table and removes the shared Metadata if no other entries are using it. |
Remove |
Removes the Metadata tag from this entry and the table if it is no longer used by any other table entries. |