var text : string
Description描述
The text to display.
用于显示的文本。
using UnityEngine; using System.Collections; public class example : MonoBehaviour { public void Awake() { guiText.text = "Hello"; } }
guiText.text = "Hello";
本脚本参考基于Unity 3.4.1f5