GUIText.text 文本

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";
Page last updated: 2011-1-24