ドキュメント

Unity Engine

Unity Engine

GetStartupLocale(LocalizationSettings)

Returns the locale to select, or null to defer to the next selector.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Localization
  • Assembly: UnityEngine.LocalizationRuntimeModule
Locale GetStartupLocale(LocalizationSettings settings)

Parameters

The localization settings whose locales the selector chooses from.

Returns

Type

Description

LocaleThe locale to use as the startup locale, or null to let the next selector in the chain decide.

Remarks

Look a locale up on
settings
with LocalizationSettings.GetLocale. A disabled locale returned here is skipped during startup selection, so the next selector runs instead.