Documentation

Unity Engine

Download Unity

Unity Engine

PlayerPreferenceKey

The PlayerPrefs key used to store the selected locale code.
Read time 1 minuteLast updated a month ago

Definition

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

Remarks

The locale code is stored in PlayerPrefs under this key. The default key is
selected-locale
.