Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PlayerPreferenceKey

The PlayerPrefs key used to store the selected locale code.
Read time 1 minuteLast updated 17 days 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
.