using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TextDemo : MonoBehaviour { // Start is called before the first frame update void Start() { //this.transform.GetComponent().text = " 船是人类的伟大发明。自从有了船,人们可以借助它在水面上自由、方便地行驶,还可以把很多货物运送到远方。\r\n 人们是怎样造船的?造船的过程中需要用到哪些技术呢?让我们跟着船的历史去探索吧"; } // Update is called once per frame void Update() { } }