docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DetailedLocalizationTable<TEntry>

    Provides common functionality for both string and asset tables.

    Inheritance
    object
    Object
    ScriptableObject
    LocalizationTable
    DetailedLocalizationTable<TEntry>
    AssetTable
    StringTable
    Implements
    IMetadataCollection
    ISerializationCallbackReceiver
    Inherited Members
    LocalizationTable.LocaleIdentifier
    LocalizationTable.TableCollectionName
    LocalizationTable.SharedData
    LocalizationTable.MetadataEntries
    LocalizationTable.GetMetadata<TObject>()
    LocalizationTable.GetMetadatas<TObject>(IList<TObject>)
    LocalizationTable.GetMetadatas<TObject>()
    LocalizationTable.AddMetadata(IMetadata)
    LocalizationTable.RemoveMetadata(IMetadata)
    LocalizationTable.Contains(IMetadata)
    LocalizationTable.FindKeyId(string, bool)
    LocalizationTable.CompareTo(LocalizationTable)
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.name
    Object.hideFlags
    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.

    IsReadOnly

    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(KeyValuePair<long, TEntry>)

    Adds the item value with the specified keyId.

    Add(long, TEntry)

    Adds the entry with the specified keyId.

    AddEntry(long, string)

    Add or update an entry in the table.

    AddEntry(string, string)

    Add or update an entry in the table.

    AddEntryFromReference(TableEntryReference, string)

    Add or update an entry in the table.

    CheckForMissingSharedTableDataEntries(MissingEntryAction)

    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 SharedData. It is possible that something may have caused an entry to be in the Table but missing from SharedData. This will cause issues and often result in the entry being ignored. This will check for any entries that exist in the table but do not have an entry in SharedData.

    Clear()

    Clear all entries in this table.

    Contains(KeyValuePair<long, TEntry>)

    Returns true if the table contains the item.

    ContainsKey(long)

    Returns true if the table contains an entry with the keyId.

    ContainsValue(string)

    Returns true if the table contains an entry with the same value.

    CopyTo(KeyValuePair<long, TEntry>[], int)

    Copies the contents of the table into an array starting at the arrayIndex.

    CreateEmpty(TableEntryReference)

    Create an empty entry in the table at the specified entry.

    CreateTableEntry()

    Returns a new instance of TEntry.

    GetEntry(long)

    Returns the entry for the key id or null if one does not exist.

    GetEntry(string)

    Returns the entry for the key or null if one does not exist.

    GetEntryFromReference(TableEntryReference)

    Returns the entry reference or null if one does not exist.

    GetEnumerator()

    Return an enumerator for the entries in this table.

    Remove(KeyValuePair<long, TEntry>)

    Remove the item from the table if it exists.

    Remove(long)

    Remove the entry with the keyId.

    RemoveEntry(long)

    Remove an entry from the table if it exists.

    RemoveEntry(string)

    Remove an entry from the table if it exists.

    TryGetValue(long, out TEntry)

    Find the entry, if it exists in the table.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)