Version: 2020.1
언어: 한국어
public string 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); } }