public string text;
Description 描述
The text contents of the .txt file as a string. (Read Only)
using UnityEngine;
public class Example : MonoBehaviour { TextAsset asset;
void Start() { print(asset.text); } }
The text contents of the .txt file as a string. (Read Only)
using UnityEngine;
public class Example : MonoBehaviour { TextAsset asset;
void Start() { print(asset.text); } }