| Parameter | Description |
|---|---|
| provider | The provider to add. |
Adds a provider to the end of the chain.
A null provider is ignored. Because providers are tried in order, an entry added last is
consulted last.
<para>Append a provider to a chain.</para>
using Unity.Localization.Providers; using UnityEngine;
namespace Unity.Localization.Samples { public class AssetProviderAddProviderExample { public void Run() { var chain = new AssetProvider(); chain.AddProvider(new ResourceFolderProvider());
Debug.Log(chain.GetProvider<ResourceFolderProvider>() != null); // True } } }