Class AssetTable | Localization | 0.5.1-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class AssetTable

    An AssetTable

    Inheritance
    Object
    LocalizedTable
    LocalizedTableT<AssetTableEntry>
    AssetTable
    Inherited Members
    LocalizedTableT<AssetTableEntry>.Values
    LocalizedTableT<AssetTableEntry>.Count
    LocalizedTableT<AssetTableEntry>.IsReadOnly
    LocalizedTableT<AssetTableEntry>.Item[UInt32]
    LocalizedTableT<AssetTableEntry>.AddEntry(String, String)
    LocalizedTableT<AssetTableEntry>.AddEntry(UInt32, String)
    LocalizedTableT<AssetTableEntry>.RemoveEntry(String)
    LocalizedTableT<AssetTableEntry>.RemoveEntry(UInt32)
    LocalizedTableT<AssetTableEntry>.GetEntry(String)
    LocalizedTableT<AssetTableEntry>.GetEntry(UInt32)
    LocalizedTableT<AssetTableEntry>.Add(UInt32, AssetTableEntry)
    LocalizedTableT<AssetTableEntry>.Add(KeyValuePair<UInt32, AssetTableEntry>)
    LocalizedTableT<AssetTableEntry>.ContainsKey(UInt32)
    LocalizedTableT<AssetTableEntry>.Contains(KeyValuePair<UInt32, AssetTableEntry>)
    LocalizedTableT<AssetTableEntry>.Remove(UInt32)
    LocalizedTableT<AssetTableEntry>.Remove(KeyValuePair<UInt32, AssetTableEntry>)
    LocalizedTableT<AssetTableEntry>.TryGetValue(UInt32, AssetTableEntry)
    LocalizedTableT<AssetTableEntry>.Clear()
    LocalizedTableT<AssetTableEntry>.CopyTo(KeyValuePair<UInt32, AssetTableEntry>[], Int32)
    LocalizedTableT<AssetTableEntry>.GetEnumerator()
    LocalizedTableT<AssetTableEntry>.ToString()
    LocalizedTableT<AssetTableEntry>.OnBeforeSerialize()
    LocalizedTableT<AssetTableEntry>.OnAfterDeserialize()
    LocalizedTable.LocaleIdentifier
    LocalizedTable.TableName
    LocalizedTable.Keys
    LocalizedTable.Entries
    LocalizedTable.GetMetadata<TObject>()
    LocalizedTable.GetMetadatas<TObject>(IList<TObject>)
    LocalizedTable.GetMetadatas<TObject>()
    LocalizedTable.AddMetadata(IMetadata)
    LocalizedTable.RemoveMetadata(IMetadata)
    LocalizedTable.Contains(IMetadata)
    LocalizedTable.FindKeyId(String)
    Namespace: UnityEngine.Localization.Tables
    Syntax
    public class AssetTable : LocalizedTableT<AssetTableEntry>, IMetadataCollection, IDictionary<uint, AssetTableEntry>, ICollection<KeyValuePair<uint, AssetTableEntry>>, IEnumerable<KeyValuePair<uint, AssetTableEntry>>, IEnumerable, ISerializationCallbackReceiver, IPreloadRequired

    Properties

    PreloadOperation

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

    Methods

    CreateTableEntry()

    Creates a new, empty AssetTableEntry.

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

    GetAssetAsync<TObject>(UInt32)

    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>(uint keyId)
        where TObject : Object
    Parameters
    Type Name Description
    UInt32 keyId
    Returns
    Type Description
    AsyncOperationHandle<TObject>
    Type Parameters
    Name Description
    TObject

    Extension Methods

    EnumerableExtensions.FormatEach<T>(IEnumerable<T>, String)
    EnumerableExtensions.Random<T>(IEnumerable<T>)
    EnumerableExtensions.RandomOrDefault<T>(IEnumerable<T>)
    EnumerableExtensions.Split<TSource>(IEnumerable<TSource>, Int32)
    EnumerableExtensions.Split<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>)
    EnumerableExtensions.SplitAfter<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>)
    EnumerableExtensions.Split<TSource>(IEnumerable<TSource>, Func<TSource, Int32, Boolean>)
    EnumerableExtensions.SplitAfter<TSource>(IEnumerable<TSource>, Func<TSource, Int32, Boolean>)
    EnumerableExtensions.ForEach<TSource>(IEnumerable<TSource>, Action<TSource, Int32>)
    EnumerableExtensions.ForEach<TSource>(IEnumerable<TSource>, Action<TSource>)
    EnumerableExtensions.Concat<T>(IEnumerable<T>, T[])
    EnumerableExtensions.Union<T>(IEnumerable<T>, T[])
    ExceptionCollectionExtensions.TryAll<TSource, TException>(IEnumerable<TSource>, Action<TSource>)
    ExceptionCollectionExtensions.TryAll<TSource>(IEnumerable<TSource>, Action<TSource>)
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX