Class LocalizationTable
Abstract base class for all tables. Contains common functionality.
Implements
Inherited Members
Namespace: UnityEngine.Localization.Tables
Assembly: Unity.Localization.dll
Syntax
public abstract class LocalizationTable : ScriptableObject, IMetadataCollection
Properties
Name | Description |
---|---|
LocaleIdentifier | The locale this asset table supports. |
MetadataEntries | Table Metadata. |
SharedData | Data shared across all tables. |
TableCollectionName | The name of this asset table collection. |
Methods
Name | Description |
---|---|
AddMetadata(IMetadata) | Add an entry to MetadataEntries. |
CompareTo(LocalizationTable) | Compare to another LocalizationTable. Performs a comparison against the LocaleIdentifier property. |
Contains(IMetadata) | Checks if the Metadata is contained within MetadataEntries. |
CreateEmpty(TableEntryReference) | Create an empty entry in the table at the specified entry. |
FindKeyId(string, bool) | Returns the key with the matching name from the SharedTableData, if one exists. |
GetMetadata<TObject>() | Returns the first Metadata item from MetadataEntries of type TObject. |
GetMetadatas<TObject>() | Returns all Metadata from MetadataEntries that is of type TObject. |
GetMetadatas<TObject>(IList<TObject>) | Populates the list with all Metadata from MetadataEntries that is of type TObject. |
RemoveMetadata(IMetadata) | Remove an entry from MetadataEntries. |