📜  unity 从子文件夹加载文本资源 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:43.701000             🧑  作者: Mango

代码示例1
TextAsset mytxtData = (TextAsset)Resources.Load("SubfolderName/");
 string txt_encoded = Encoding.UTF8.GetString(mytxtData.bytes);