ResourceTableData
A flat, serializable snapshot of one per-locale table.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Class
- Namespace: Unity.Localization.Providers.FileTables
- Assembly: UnityEngine.LocalizationRuntimeModule
public class ResourceTableData
Remarks
The shape is deliberately non-polymorphic (no ) so JsonUtility and other simple serializers round-trip it, and self-contained so a single file rebuilds a usable table. The provider turns a snapshot back into a ResourceTable and its SharedTableData. Each element of ResourceTableData.Entries is one key together with this locale's value, so the file reads as one row per entry rather than parallel key and value lists.
[SerializeReference]Additional Resources: ITableFileReader
Fields
Value | Description |
|---|---|
| CollectionGuid | The stable collection guid, used as the address the runtime resolves the table under. |
| CollectionName | The collection name this table belongs to. |
| Entries | The entries in this table, one row per key, carrying both the shared key data and this locale's value. |
| LocaleCode | The locale code this table targets. |
| SchemaVersion | The format version, so a reader can reject or migrate older data. |