ドキュメント

Unity Engine

Unity Engine

StartupSelector

The selector that chose the startup locale, or null when the chain fell through to the project locale.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: Unity.Localization
  • Assembly: UnityEngine.LocalizationRuntimeModule
public IStartupLocaleSelector StartupSelector { get; }

Remarks

Set during LocalizationSettings.InitializeAsync. Read it to tell whether a user override was applied at startup or whether the locale came from the project default. Pair it with LocalizationSettings.EvaluateStartupLocale to show both the chosen locale and the one that would have been chosen without the override.