TextAsset.textvar text : stringDescriptionThe text contents of the .txt file as a string. (Read Only)
var asset : TextAsset;
function Start () { print(asset.text); } |
|
||||
| Scripting > Runtime Classes > TextAsset | Switch to Component | |||
TextAsset.textvar text : stringDescriptionThe text contents of the .txt file as a string. (Read Only)
var asset : TextAsset;
function Start () { print(asset.text); } |