偶遇一坑 尝试使用如下代码载入文本 但是总是没有内容。
TextAsset textFile = Resources.Load("helpInfo_inspire_keyboard") as TextAsset;
if (textFile != null)
{
helpInfo.text = textFile.text;
}
else
{
print("未找到 helpInfo_inspire_keyboard ");
}
尝试改变文本格式 从 ASNI 到 utf-8 成功了 说明是文本格式有问题。