public static string Tr (string str);

参数

str原始文本,基本上是英语。

返回

string 本地化文本。

描述

此函数将 po 文件(如 ja.po)引用为资源。需要 Asmdef 和 [assembly: UnityEditor.Localization.Editor.Localization]。


Did you find this page useful? Please give it a rating: