Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CurrentKey

The variant key that applies to the current runtime context.
Read time 1 minuteLast updated 13 days ago

Definition

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

Remarks

Resolution compares this against each variant's key, for example
"iOS"
or
"Steam"
, and falls back to the entry's default value when nothing matches.