Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AssetProviderEditor

Defines the editor-side companion to a runtime asset provider.
Read time 1 minuteLast updated 13 days ago

Definition

public abstract class AssetProviderEditor

Remarks

Providers load a collection's tables and shared data. The editor enumerates the collections a provider serves (discovery for the table window) and registers a collection's per-locale tables with the provider. Localized asset values live on the entries themselves, so there is no per-asset registry here. See IAssetEntry. The base implementation discovers collections by matching the provider id and performs no table registration, so override the registration hooks for a specific provider type.

Methods

Method

Description

ClaimsPathReturns whether this provider should serve a collection saved at a given path.
ClearRegistrationsDrops every table registration the provider holds.
CreateReferenceCreates the table reference to store when a collection is assigned to a localized reference.
EnumerateCollectionsReturns the collections assigned to a provider.
RegisterCollectionRegisters every per-locale table in a collection with a provider.
RegisterTableRegisters a single per-locale table with the provider.
SetLocaleEnabledAdds or removes a locale's tables across the provider's collections when the locale is toggled.
UnregisterCollectionRemoves every per-locale table in a collection from a provider.
UnregisterTableRemoves a single per-locale table from the provider.

Static Methods

Method

Description

GuidTableAddressReturns the address a per-locale table is served under, keyed by the collection guid.
TableAddressReturns the address a per-locale table is served under, keyed by collection name.