Class AssetTable | Localization | 0.9.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class AssetTable

    An AssetTable

    Inheritance
    Object
    Object
    ScriptableObject
    LocalizationTable
    DetailedLocalizationTable<AssetTableEntry>
    AssetTable
    Inherited Members
    DetailedLocalizationTable<AssetTableEntry>.Values
    DetailedLocalizationTable<AssetTableEntry>.Count
    DetailedLocalizationTable<AssetTableEntry>.IsReadOnly
    DetailedLocalizationTable<AssetTableEntry>.Item[Int64]
    DetailedLocalizationTable<AssetTableEntry>.Item[String]
    DetailedLocalizationTable<AssetTableEntry>.CreateEmpty(TableEntryReference)
    DetailedLocalizationTable<AssetTableEntry>.AddEntry(String, String)
    DetailedLocalizationTable<AssetTableEntry>.AddEntry(Int64, String)
    DetailedLocalizationTable<AssetTableEntry>.AddEntryFromReference(TableEntryReference, String)
    DetailedLocalizationTable<AssetTableEntry>.RemoveEntry(String)
    DetailedLocalizationTable<AssetTableEntry>.RemoveEntry(Int64)
    DetailedLocalizationTable<AssetTableEntry>.GetEntryFromReference(TableEntryReference)
    DetailedLocalizationTable<AssetTableEntry>.GetEntry(String)
    DetailedLocalizationTable<AssetTableEntry>.GetEntry(Int64)
    DetailedLocalizationTable<AssetTableEntry>.Add(Int64, AssetTableEntry)
    DetailedLocalizationTable<AssetTableEntry>.Add(KeyValuePair<Int64, AssetTableEntry>)
    DetailedLocalizationTable<AssetTableEntry>.ContainsKey(Int64)
    DetailedLocalizationTable<AssetTableEntry>.ContainsValue(String)
    DetailedLocalizationTable<AssetTableEntry>.Contains(KeyValuePair<Int64, AssetTableEntry>)
    DetailedLocalizationTable<AssetTableEntry>.Remove(Int64)
    DetailedLocalizationTable<AssetTableEntry>.Remove(KeyValuePair<Int64, AssetTableEntry>)
    DetailedLocalizationTable<AssetTableEntry>.CheckForMissingSharedTableDataEntries(MissingEntryAction)
    DetailedLocalizationTable<AssetTableEntry>.TryGetValue(Int64, AssetTableEntry)
    DetailedLocalizationTable<AssetTableEntry>.Clear()
    DetailedLocalizationTable<AssetTableEntry>.CopyTo(KeyValuePair<Int64, AssetTableEntry>[], Int32)
    DetailedLocalizationTable<AssetTableEntry>.GetEnumerator()
    DetailedLocalizationTable<AssetTableEntry>.ToString()
    DetailedLocalizationTable<AssetTableEntry>.OnBeforeSerialize()
    DetailedLocalizationTable<AssetTableEntry>.OnAfterDeserialize()
    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, Boolean)
    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, Boolean)
    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, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    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
    Syntax
    public class AssetTable : DetailedLocalizationTable<AssetTableEntry>, IMetadataCollection, IComparable<LocalizationTable>, IDictionary<long, AssetTableEntry>, ICollection<KeyValuePair<long, AssetTableEntry>>, IEnumerable<KeyValuePair<long, AssetTableEntry>>, IEnumerable, ISerializationCallbackReceiver, IPreloadRequired

    Properties

    PreloadOperation

    Declaration
    public virtual AsyncOperationHandle PreloadOperation { get; }
    Property Value
    Type Description
    AsyncOperationHandle
    Implements
    IPreloadRequired.PreloadOperation

    Methods

    CreateTableEntry()

    Creates a new, empty AssetTableEntry.

    Declaration
    public override AssetTableEntry CreateTableEntry()
    Returns
    Type Description
    AssetTableEntry
    Overrides
    UnityEngine.Localization.Tables.DetailedLocalizationTable<UnityEngine.Localization.Tables.AssetTableEntry>.CreateTableEntry()

    GetAssetAsync<TObject>(Int64)

    Returns the loading operation for the asset. Check isDone to see if the asset is available for immediate use, if not you can yield on the operation or add a callback subscriber.

    Declaration
    public AsyncOperationHandle<TObject> GetAssetAsync<TObject>(long keyId)
        where TObject : Object
    Parameters
    Type Name Description
    Int64 keyId
    Returns
    Type Description
    AsyncOperationHandle<TObject>
    Type Parameters
    Name Description
    TObject

    ReleaseAssets()

    Releases all assets that have been preloaded or cached resets the preload state so it can be performed again. Note: This is called automatically by LocalizedAssetDatabase when the SelectedLocale is changed.

    Declaration
    public void ReleaseAssets()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023