TextAsset.text 文本
var text : string
Description描述
The text contents of the .txt file as a string. (Read Only)
.txt文件的文本内容作为字符串。(只读)
var asset : TextAsset;
function Start () {
print(asset.text);
}
最后修改:2011年1月2日 Sunday 21:20
var text : string
Description描述
The text contents of the .txt file as a string. (Read Only)
.txt文件的文本内容作为字符串。(只读)
var asset : TextAsset;
function Start () {
print(asset.text);
}