ドキュメント

Unity Engine

Unity Engine

ResolveOverrideLocale()

Resolves the override locale from the project settings for subclasses to pass to the resource database.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Localization
  • Assembly: UnityEngine.LocalizationRuntimeModule
protected Locale ResolveOverrideLocale()

Returns

Type

Description

LocaleThe resolved override locale, or null when no override applies.

Remarks

When LocalizedReference.HasLocaleOverride is
true
and a LocalizationSettings instance exists, this looks up the LocalizedReference.LocaleOverride identifier with LocalizationSettings.GetLocale. Otherwise it returns null so the resolver falls back to the selected locale.