Class AssetTableEntry
Run time representation of an entry in a AssetTable.
Implements
Inherited Members
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 | 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). |