using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using Microsoft.Office.Interop.Excel; using Syste
读取txt的脚本: public void ReadFileTX(){ var str = File.ReadAllText(Application.streamingAssetsPath + "/position.txt"); Parse(str); foreach(var n in beats_positions){ Debug.Log(n); } } 这个时候对得到的点处理为vector3: public string Parse(string str){ string[] st