Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GuidTableAddress(ResourceTableCollection, ResourceTable)

Returns the address a per-locale table is served under, keyed by the collection guid.
Read time 1 minuteLast updated 17 days ago

Definition

protected static string GuidTableAddress(ResourceTableCollection collection, ResourceTable table)

Parameters

The collection the table belongs to.

The per-locale table.

Returns

Type

Description

stringThe address the table is served under, or an empty string when the collection has no guid.

Remarks

The form is
{collectionGuid}_{localeCode}
. A guid survives renaming the collection, so this is the address a stored reference should use. Returns an empty string when the collection has no shared data or its guid is unset.
Additional Resources: AssetProviderEditor.TableAddress