1 public TextAsset textFile; 3 配置文件通常分行配置屬性例如:英雄名稱(chēng),等級(jí),生命,攻擊1 2 3 4 5 6 hero1,1,1,1 hero2,1,1,1 string[] lines = textFile.text.Split("\n"[0]); 可以讀出屬性 lines[0] = "英雄名稱(chēng),等級(jí),生命,攻擊" lines[1] = "hero1,1,1,1"
www.dbjr.com.cn/article/2095...htm 2025-6-8