docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetTableEntry

    Run time representation of an entry in a AssetTable.

    Inheritance
    object
    TableEntry
    AssetTableEntry
    Implements
    IMetadataCollection
    Inherited Members
    TableEntry.Table
    TableEntry.SharedEntry
    TableEntry.Key
    TableEntry.KeyId
    TableEntry.LocalizedValue
    TableEntry.MetadataEntries
    TableEntry.GetMetadata<TObject>()
    TableEntry.GetMetadatas<TObject>(IList<TObject>)
    TableEntry.GetMetadatas<TObject>()
    TableEntry.HasTagMetadata<TShared>()
    TableEntry.AddTagMetadata<TShared>()
    TableEntry.AddSharedMetadata(SharedTableEntryMetadata)
    TableEntry.AddSharedMetadata(SharedTableCollectionMetadata)
    TableEntry.AddMetadata(IMetadata)
    TableEntry.RemoveTagMetadata<TShared>()
    TableEntry.RemoveSharedMetadata(SharedTableEntryMetadata)
    TableEntry.RemoveSharedMetadata(SharedTableCollectionMetadata)
    TableEntry.RemoveMetadata(IMetadata)
    TableEntry.Contains(IMetadata)
    Namespace: UnityEngine.Localization.Tables
    Assembly: Unity.Localization.dll
    Syntax
    public class AssetTableEntry : TableEntry, IMetadataCollection

    Properties

    Name Description
    Address

    The address used to load the asset from Addressables. Contains the Guid and the optional SubAssetName in the form Guid[SubAssetName].

    Guid

    The asset Guid.

    IsEmpty

    Does this entry contain any data? Checks if Address is empty.

    IsSubAsset

    Does the Address reference a sub-asset?

    SubAssetName

    The name of the sub-asset if one is used; otherwise null.

    Methods

    Name Description
    RemoveFromTable()

    Attempts to remove the entry from the AssetTable that it belongs to. If Table is null then a warning will be produced.

    SetAssetOverride<T>(T)

    Provides support for overriding the localized asset for the Entry. Note this is only temporary and will not persist in the Editor or if the table is reloaded. This allows for a table to be updated in the player. To remove the override, call ReleaseAsset(AssetTableEntry).

    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)