Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResourceTableCollection

Represents the source asset for a set of localized tables: shared key data plus one table per locale.
Read time 4 minutesLast updated 11 days ago

Definition

[HelpURL("localization/create-and-edit-table-collections")]public sealed class ResourceTableCollection : ScriptableObject

Remarks

A collection groups a single SharedTableData with one ResourceTable per locale. Authoring edits the per-locale tables through the collection; at runtime the ResourceDatabase resolves through the individual tables it has registered, not the collection, which is editor-only.

Properties

Property

Description

ExtensionsGets the extensions attached to this collection.
ProviderIdGets or sets the identifier of the asset provider this collection registers its tables and assets with.
SharedDataGets or sets the shared key data for the collection.
TableCollectionNameGets the collection name.
TablesGets the per-locale tables in this collection.

Methods

Method

Description

AddExtensionAttaches an extension to this collection.
AddTableAdds a per-locale table to the collection.
GetExtensionReturns the first attached extension of a type.
GetTableReturns the table for a locale.
RemoveExtensionRemoves an extension from this collection.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.