Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LocalVariables

The local variables that Smart String placeholders resolve against when this string is formatted.
Read time 1 minuteLast updated 7 days ago

Definition

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

Remarks

Placeholders such as
{score}
look up values in this LocalVariablesGroup during formatting. A nested LocalizedString also reads the variables of the string that contains it (a chained scope).