Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

ResourceTableData

class in Unity.Localization.Providers.FileTables

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A flat, serializable snapshot of one per-locale table.

The shape is deliberately non-polymorphic (no [SerializeReference]) 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.

Additional resources: ITableFileReader

Properties

Property 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.