文档

Unity Engine

Unity Engine

SelectedProvider

The asset provider used as the default when creating new localized content.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: Unity.Localization
  • Assembly: UnityEngine.LocalizationRuntimeModule
public IAssetProvider SelectedProvider { get; set; }

Remarks

This is the entry in the LocalizationSettings.Database's AssetProvider chain chosen as the default for new content, or null until one is selected during setup. It is backed by AssetProvider.Selected, so it stays valid when a provider is removed from the chain.