# AssetProviderEditor

> Defines the editor-side companion to a runtime asset provider.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Localization.Editor](/engine/6000.7/script-reference/unity/localization/editor.md)
* **Assembly:** UnityEditor

```csharp
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](/engine/6000.7/script-reference/unity/localization/iassetentry.md). 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                                                                                     |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| [ClaimsPath](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/claimspath.md)                     | Returns whether this provider should serve a collection saved at a given path.                  |
| [ClearRegistrations](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/clearregistrations.md)     | Drops every table registration the provider holds.                                              |
| [CreateReference](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/createreference.md)           | Creates the table reference to store when a collection is assigned to a localized reference.    |
| [EnumerateCollections](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/enumeratecollections.md) | Returns the collections assigned to a provider.                                                 |
| [RegisterCollection](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/registercollection.md)     | Registers every per-locale table in a collection with a provider.                               |
| [RegisterTable](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/registertable.md)               | Registers a single per-locale table with the provider.                                          |
| [SetLocaleEnabled](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/setlocaleenabled.md)         | Adds or removes a locale's tables across the provider's collections when the locale is toggled. |
| [UnregisterCollection](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/unregistercollection.md) | Removes every per-locale table in a collection from a provider.                                 |
| [UnregisterTable](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/unregistertable.md)           | Removes a single per-locale table from the provider.                                            |

## Static Methods

| Method                                                                                                                | Description                                                                           |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [GuidTableAddress](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/guidtableaddress.md) | Returns the address a per-locale table is served under, keyed by the collection guid. |
| [TableAddress](/engine/6000.7/script-reference/unity/localization/editor/assetprovidereditor/tableaddress.md)         | Returns the address a per-locale table is served under, keyed by collection name.     |
