기술 자료

Unity Engine

Unity Engine

LocalVariables

The local variables that Smart String placeholders resolve against when this string is formatted.
읽는 시간 1분최근 업데이트: 한 달 전

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).