Class DetailedLocalizationTable<TEntry>
Provides common functionality for both string and asset tables.
Inherited Members
Namespace: UnityEngine .Localization.Tables
Assembly: Unity.Localization.dll
Syntax
public abstract class DetailedLocalizationTable<TEntry> : LocalizationTable, IMetadataCollection, ISerializationCallbackReceiver where TEntry : TableEntry
Type Parameters
Name | Description |
---|---|
TEntry |
Properties
Name | Description |
---|---|
Count | The number of entries in this Table. |
Is |
Will always be false. Implemented because it is required by the System.Collections.IList interface. |
this[long] | Get/Set a value using the specified key. |
this[string] | Get/Set a value using the specified key name. |
Values | All values in this table. |
Methods
Name | Description |
---|---|
Add(Key |
Adds the item value with the specified keyId. |
Add(long, TEntry) | Adds the entry with the specified keyId. |
Add |
Add or update an entry in the table. |
Add |
Add or update an entry in the table. |
Add |
Add or update an entry in the table. |
Check |
Tables do not store the full information for an entry, instead they store just the Id of that entry which can then be referenced in Shared |
Clear() | Clear all entries in this table. |
Contains(Key |
Returns true if the table contains the item. |
Contains |
Returns true if the table contains an entry with the keyId. |
Contains |
Returns true if the table contains an entry with the same value. |
Copy |
Copies the contents of the table into an array starting at the arrayIndex. |
Create |
Create an empty entry in the table at the specified entry. |
Create |
Returns a new instance of TEntry. |
Get |
Returns the entry for the key id or null if one does not exist. |
Get |
Returns the entry for the key or null if one does not exist. |
Get |
Returns the entry reference or null if one does not exist. |
Get |
Return an enumerator for the entries in this table. |
Remove(Key |
Remove the item from the table if it exists. |
Remove(long) | Remove the entry with the keyId. |
Remove |
Remove an entry from the table if it exists. |
Remove |
Remove an entry from the table if it exists. |
Try |
Find the entry, if it exists in the table. |