Content-Length: 19511 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/TextAsset-text.html
The text contents of the file as a string. (Read Only)
Encodings are detected and interpreted automatically. Supported encodings are:
To use a specific encoding to decode a file, use TextAsset.bytes and C# encoding classes.
using UnityEngine;
public class Example : MonoBehaviour { TextAsset asset;
void Start() { Debug.Log(asset.text); } }
Additional resources: bytes, GetData, Text Assets.
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/TextAsset-text.html
Alternative Proxies: